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