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