pub struct Block<'a> {
pub profile_id: &'a str,
pub channel: Channel<'a>,
pub samples: &'a [Sample],
pub omitted: u64,
pub periodic: bool,
pub crossing: Option<ThresholdCrossing<'a>>,
}Fields§
§profile_id: &'a str§channel: Channel<'a>§samples: &'a [Sample]Qualified observations in ascending time order. Always nonempty.
omitted: u64Older qualified samples displaced since the previous block.
periodic: bool§crossing: Option<ThresholdCrossing<'a>>Trait Implementations§
impl<'a> Eq for Block<'a>
impl<'a> StructuralPartialEq for Block<'a>
Auto Trait Implementations§
impl<'a> Freeze for Block<'a>
impl<'a> RefUnwindSafe for Block<'a>
impl<'a> Send for Block<'a>
impl<'a> Sync for Block<'a>
impl<'a> Unpin for Block<'a>
impl<'a> UnsafeUnpin for Block<'a>
impl<'a> UnwindSafe for Block<'a>
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