pub struct Annotation {
pub core_colon_comment: Option<String>,
pub core_colon_freq_lower_edge: Option<f32>,
pub core_colon_freq_upper_edge: Option<f32>,
pub core_colon_generator: Option<String>,
pub core_colon_label: Option<String>,
pub core_colon_sample_count: i32,
pub core_colon_sample_start: i32,
pub core_colon_uuid: Option<Uuid>,
}Fields§
§core_colon_comment: Option<String>A human-readable comment
core_colon_freq_lower_edge: Option<f32>The frequency (Hz) of the lower edge of the feature described by this annotation.
core_colon_freq_upper_edge: Option<f32>The frequency (Hz) of the upper edge of the feature described by this annotation.
core_colon_generator: Option<String>Human-readable name of the entity that created this annotation.
core_colon_label: Option<String>A short form human/machine-readable label for the annotation. CAN BE USED TO LABEL CLASSIFIER OUTPUT
core_colon_sample_count: i32The number of samples that this Segment applies to.
core_colon_sample_start: i32The sample index at which this Segment takes effect
core_colon_uuid: Option<Uuid>RFC-4122 unique identifier.
Implementations§
Source§impl Annotation
impl Annotation
pub fn new( core_colon_sample_count: i32, core_colon_sample_start: i32, ) -> Annotation
Trait Implementations§
Source§impl Clone for Annotation
impl Clone for Annotation
Source§fn clone(&self) -> Annotation
fn clone(&self) -> Annotation
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 Annotation
impl Debug for Annotation
Source§impl<'de> Deserialize<'de> for Annotation
impl<'de> Deserialize<'de> for Annotation
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 Annotation
impl PartialEq for Annotation
Source§impl Serialize for Annotation
impl Serialize for Annotation
impl StructuralPartialEq for Annotation
Auto Trait Implementations§
impl Freeze for Annotation
impl RefUnwindSafe for Annotation
impl Send for Annotation
impl Sync for Annotation
impl Unpin for Annotation
impl UnwindSafe for Annotation
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