Struct stencila_schema::NontextualAnnotation [−][src]
pub struct NontextualAnnotation {
pub type_: NontextualAnnotation_,
pub content: Vec<InlineContent>,
pub id: Option<Box<String>>,
}
Expand description
Inline text that has a non-textual annotation.
Fields
type_: NontextualAnnotation_
The name of this type
content: Vec<InlineContent>
The content that is marked.
id: Option<Box<String>>
The identifier for this item.
Trait Implementations
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
Performs the conversion.
Performs the conversion.
fn try_into(
self
) -> Result<NontextualAnnotation, <Self as TryInto<NontextualAnnotation>>::Error>
fn try_into(
self
) -> Result<NontextualAnnotation, <Self as TryInto<NontextualAnnotation>>::Error>
Performs the conversion.
fn try_into(
self
) -> Result<NontextualAnnotation, <Self as TryInto<NontextualAnnotation>>::Error>
fn try_into(
self
) -> Result<NontextualAnnotation, <Self as TryInto<NontextualAnnotation>>::Error>
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for NontextualAnnotation
impl Send for NontextualAnnotation
impl Sync for NontextualAnnotation
impl Unpin for NontextualAnnotation
impl UnwindSafe for NontextualAnnotation
Blanket Implementations
Mutably borrows from an owned value. Read more