pub struct DiagramDocumentContent {
pub name: String,
pub diagram_in: Link,
pub notebook: Notebook<DiagramJudgment>,
}
Fields§
§name: String
§diagram_in: Link
§notebook: Notebook<DiagramJudgment>
Trait Implementations§
Source§impl Debug for DiagramDocumentContent
impl Debug for DiagramDocumentContent
Source§impl<'de> Deserialize<'de> for DiagramDocumentContent
impl<'de> Deserialize<'de> for DiagramDocumentContent
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<DiagramDocumentContent> for JsValuewhere
DiagramDocumentContent: Serialize,
impl From<DiagramDocumentContent> for JsValuewhere
DiagramDocumentContent: Serialize,
Source§fn from(value: DiagramDocumentContent) -> Self
fn from(value: DiagramDocumentContent) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for DiagramDocumentContentwhere
Self: DeserializeOwned,
impl FromWasmAbi for DiagramDocumentContentwhere
Self: DeserializeOwned,
Source§impl IntoWasmAbi for DiagramDocumentContentwhere
DiagramDocumentContent: Serialize,
impl IntoWasmAbi for DiagramDocumentContentwhere
DiagramDocumentContent: Serialize,
Source§impl OptionFromWasmAbi for DiagramDocumentContentwhere
Self: DeserializeOwned,
impl OptionFromWasmAbi for DiagramDocumentContentwhere
Self: DeserializeOwned,
Source§impl PartialEq for DiagramDocumentContent
impl PartialEq for DiagramDocumentContent
Source§impl RefFromWasmAbi for DiagramDocumentContentwhere
Self: DeserializeOwned,
impl RefFromWasmAbi for DiagramDocumentContentwhere
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<DiagramDocumentContent>
type Anchor = SelfOwner<DiagramDocumentContent>
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 DiagramDocumentContent
impl Serialize for DiagramDocumentContent
Source§impl Tsify for DiagramDocumentContent
impl Tsify for DiagramDocumentContent
const DECL: &'static str = "export interface DiagramDocumentContent {\n name: string;\n diagramIn: Link;\n notebook: Notebook<DiagramJudgment>;\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 DiagramDocumentContentwhere
Self: DeserializeOwned,
impl VectorFromWasmAbi for DiagramDocumentContentwhere
Self: DeserializeOwned,
type Abi = <JsType as VectorFromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[Self]>
Source§impl VectorIntoWasmAbi for DiagramDocumentContentwhere
DiagramDocumentContent: Serialize,
impl VectorIntoWasmAbi for DiagramDocumentContentwhere
DiagramDocumentContent: Serialize,
type Abi = <JsType as VectorIntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[Self]>) -> Self::Abi
Source§impl WasmDescribeVector for DiagramDocumentContent
impl WasmDescribeVector for DiagramDocumentContent
impl Eq for DiagramDocumentContent
impl StructuralPartialEq for DiagramDocumentContent
Auto Trait Implementations§
impl Freeze for DiagramDocumentContent
impl RefUnwindSafe for DiagramDocumentContent
impl Send for DiagramDocumentContent
impl Sync for DiagramDocumentContent
impl Unpin for DiagramDocumentContent
impl UnwindSafe for DiagramDocumentContent
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
Source§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::Abi
Source§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
.