pub struct NonStandardAnnotation {
pub block_type: String,
pub id: Option<String>,
pub value: HashMap<String, Value>,
}Expand description
Provider-specific annotation format.
Fields§
§block_type: StringType of the content block. Always “non_standard_annotation”.
id: Option<String>Content block identifier.
value: HashMap<String, Value>Provider-specific annotation data.
Implementations§
Trait Implementations§
Source§impl Clone for NonStandardAnnotation
impl Clone for NonStandardAnnotation
Source§fn clone(&self) -> NonStandardAnnotation
fn clone(&self) -> NonStandardAnnotation
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NonStandardAnnotation
impl Debug for NonStandardAnnotation
Source§impl<'de> Deserialize<'de> for NonStandardAnnotation
impl<'de> Deserialize<'de> for NonStandardAnnotation
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 PartialEq for NonStandardAnnotation
impl PartialEq for NonStandardAnnotation
Source§impl Serialize for NonStandardAnnotation
impl Serialize for NonStandardAnnotation
impl StructuralPartialEq for NonStandardAnnotation
Auto Trait Implementations§
impl Freeze for NonStandardAnnotation
impl RefUnwindSafe for NonStandardAnnotation
impl Send for NonStandardAnnotation
impl Sync for NonStandardAnnotation
impl Unpin for NonStandardAnnotation
impl UnwindSafe for NonStandardAnnotation
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