pub struct InstanceDocumentContent {
pub name: String,
pub instance_of: Link,
pub tables: HashMap<String, Table>,
pub version: String,
}Fields§
§name: String§instance_of: Link§tables: HashMap<String, Table>Tables keyed by their schema entity QualifiedName.
version: StringTrait Implementations§
Source§impl Debug for InstanceDocumentContent
impl Debug for InstanceDocumentContent
Source§impl<'de> Deserialize<'de> for InstanceDocumentContent
impl<'de> Deserialize<'de> for InstanceDocumentContent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<InstanceDocumentContent> for JsValuewhere
InstanceDocumentContent: Serialize,
impl From<InstanceDocumentContent> for JsValuewhere
InstanceDocumentContent: Serialize,
Source§fn from(value: InstanceDocumentContent) -> Self
fn from(value: InstanceDocumentContent) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for InstanceDocumentContentwhere
Self: DeserializeOwned,
impl FromWasmAbi for InstanceDocumentContentwhere
Self: DeserializeOwned,
Source§impl IntoWasmAbi for &InstanceDocumentContentwhere
InstanceDocumentContent: Serialize,
impl IntoWasmAbi for &InstanceDocumentContentwhere
InstanceDocumentContent: Serialize,
Source§impl IntoWasmAbi for InstanceDocumentContentwhere
InstanceDocumentContent: Serialize,
impl IntoWasmAbi for InstanceDocumentContentwhere
InstanceDocumentContent: Serialize,
Source§impl OptionFromWasmAbi for InstanceDocumentContentwhere
Self: DeserializeOwned,
impl OptionFromWasmAbi for InstanceDocumentContentwhere
Self: DeserializeOwned,
Source§impl PartialEq for InstanceDocumentContent
impl PartialEq for InstanceDocumentContent
Source§fn eq(&self, other: &InstanceDocumentContent) -> bool
fn eq(&self, other: &InstanceDocumentContent) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl RefFromWasmAbi for InstanceDocumentContentwhere
Self: DeserializeOwned,
impl RefFromWasmAbi for InstanceDocumentContentwhere
Self: DeserializeOwned,
Source§type Abi = <JsType as RefFromWasmAbi>::Abi
type Abi = <JsType as RefFromWasmAbi>::Abi
The Wasm ABI type references to
Self are recovered from.Source§type Anchor = SelfOwner<InstanceDocumentContent>
type Anchor = SelfOwner<InstanceDocumentContent>
The type that holds the reference to
Self for the duration of the
invocation of the function that has an &Self parameter. This is
required to ensure that the lifetimes don’t persist beyond one function
call, and so that they remain anonymous.Source§impl Serialize for InstanceDocumentContent
impl Serialize for InstanceDocumentContent
Source§impl Tsify for InstanceDocumentContent
impl Tsify for InstanceDocumentContent
const DECL: &'static str = "export interface InstanceDocumentContent {\n name: string;\n instanceOf: Link;\n /**\n * Tables keyed by their schema entity `QualifiedName`.\n */\n tables: Record<string, Table>;\n version: string;\n}"
const SERIALIZATION_CONFIG: SerializationConfig
type JsType = JsType
fn into_js(&self) -> Result<Self::JsType, Error>where
Self: Serialize,
fn from_js<T>(js: T) -> Result<Self, Error>
Source§impl VectorFromWasmAbi for InstanceDocumentContentwhere
Self: DeserializeOwned,
impl VectorFromWasmAbi for InstanceDocumentContentwhere
Self: DeserializeOwned,
type Abi = <JsType as VectorFromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[Self]>
Source§impl VectorIntoWasmAbi for InstanceDocumentContentwhere
InstanceDocumentContent: Serialize,
impl VectorIntoWasmAbi for InstanceDocumentContentwhere
InstanceDocumentContent: Serialize,
type Abi = <JsType as VectorIntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[Self]>) -> Self::Abi
Source§impl WasmDescribeVector for InstanceDocumentContent
impl WasmDescribeVector for InstanceDocumentContent
impl StructuralPartialEq for InstanceDocumentContent
Auto Trait Implementations§
impl Freeze for InstanceDocumentContent
impl RefUnwindSafe for InstanceDocumentContent
impl Send for InstanceDocumentContent
impl Sync for InstanceDocumentContent
impl Unpin for InstanceDocumentContent
impl UnsafeUnpin for InstanceDocumentContent
impl UnwindSafe for InstanceDocumentContent
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::AbiSource§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi, except that it may throw and never
return in the case of Err.