pub struct XmlAnnotation {
pub id: String,
pub namespace: Option<String>,
pub annotator: Option<String>,
pub description: Option<String>,
pub annotation_ref: Vec<AnnotationRef>,
pub value: XmlAnnotationValue,
}Fields§
§id: String§namespace: Option<String>§annotator: Option<String>§description: Option<String>§annotation_ref: Vec<AnnotationRef>§value: XmlAnnotationValueImplementations§
Trait Implementations§
Source§impl Clone for XmlAnnotation
impl Clone for XmlAnnotation
Source§fn clone(&self) -> XmlAnnotation
fn clone(&self) -> XmlAnnotation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 XmlAnnotation
impl Debug for XmlAnnotation
Source§impl Default for XmlAnnotation
impl Default for XmlAnnotation
Source§fn default() -> XmlAnnotation
fn default() -> XmlAnnotation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for XmlAnnotation
impl<'de> Deserialize<'de> for XmlAnnotation
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 XmlAnnotation
impl PartialEq for XmlAnnotation
Source§fn eq(&self, other: &XmlAnnotation) -> bool
fn eq(&self, other: &XmlAnnotation) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for XmlAnnotation
impl Serialize for XmlAnnotation
impl StructuralPartialEq for XmlAnnotation
Auto Trait Implementations§
impl Freeze for XmlAnnotation
impl RefUnwindSafe for XmlAnnotation
impl Send for XmlAnnotation
impl Sync for XmlAnnotation
impl Unpin for XmlAnnotation
impl UnsafeUnpin for XmlAnnotation
impl UnwindSafe for XmlAnnotation
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