pub struct SampledValueItem<const SAMPLED_VALUE_ITEM_VALUE_CAP: usize = 1024> {
pub context: Option<Context>,
pub format: Option<Format>,
pub location: Option<Location>,
pub measurand: Option<Measurand>,
pub phase: Option<Phase>,
pub unit: Option<Unit>,
pub value: String<SAMPLED_VALUE_ITEM_VALUE_CAP>,
}Fields§
§context: Option<Context>§format: Option<Format>§location: Option<Location>§measurand: Option<Measurand>§phase: Option<Phase>§unit: Option<Unit>§value: String<SAMPLED_VALUE_ITEM_VALUE_CAP>Trait Implementations§
Source§impl<const SAMPLED_VALUE_ITEM_VALUE_CAP: usize> Clone for SampledValueItem<SAMPLED_VALUE_ITEM_VALUE_CAP>
impl<const SAMPLED_VALUE_ITEM_VALUE_CAP: usize> Clone for SampledValueItem<SAMPLED_VALUE_ITEM_VALUE_CAP>
Source§fn clone(&self) -> SampledValueItem<SAMPLED_VALUE_ITEM_VALUE_CAP>
fn clone(&self) -> SampledValueItem<SAMPLED_VALUE_ITEM_VALUE_CAP>
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<const SAMPLED_VALUE_ITEM_VALUE_CAP: usize> Debug for SampledValueItem<SAMPLED_VALUE_ITEM_VALUE_CAP>
impl<const SAMPLED_VALUE_ITEM_VALUE_CAP: usize> Debug for SampledValueItem<SAMPLED_VALUE_ITEM_VALUE_CAP>
impl<const SAMPLED_VALUE_ITEM_VALUE_CAP: usize> Eq for SampledValueItem<SAMPLED_VALUE_ITEM_VALUE_CAP>
Source§impl<const SAMPLED_VALUE_ITEM_VALUE_CAP: usize> PartialEq for SampledValueItem<SAMPLED_VALUE_ITEM_VALUE_CAP>
impl<const SAMPLED_VALUE_ITEM_VALUE_CAP: usize> PartialEq for SampledValueItem<SAMPLED_VALUE_ITEM_VALUE_CAP>
impl<const SAMPLED_VALUE_ITEM_VALUE_CAP: usize> StructuralPartialEq for SampledValueItem<SAMPLED_VALUE_ITEM_VALUE_CAP>
Auto Trait Implementations§
impl<const SAMPLED_VALUE_ITEM_VALUE_CAP: usize> Freeze for SampledValueItem<SAMPLED_VALUE_ITEM_VALUE_CAP>
impl<const SAMPLED_VALUE_ITEM_VALUE_CAP: usize> RefUnwindSafe for SampledValueItem<SAMPLED_VALUE_ITEM_VALUE_CAP>
impl<const SAMPLED_VALUE_ITEM_VALUE_CAP: usize> Send for SampledValueItem<SAMPLED_VALUE_ITEM_VALUE_CAP>
impl<const SAMPLED_VALUE_ITEM_VALUE_CAP: usize> Sync for SampledValueItem<SAMPLED_VALUE_ITEM_VALUE_CAP>
impl<const SAMPLED_VALUE_ITEM_VALUE_CAP: usize> Unpin for SampledValueItem<SAMPLED_VALUE_ITEM_VALUE_CAP>
impl<const SAMPLED_VALUE_ITEM_VALUE_CAP: usize> UnsafeUnpin for SampledValueItem<SAMPLED_VALUE_ITEM_VALUE_CAP>
impl<const SAMPLED_VALUE_ITEM_VALUE_CAP: usize> UnwindSafe for SampledValueItem<SAMPLED_VALUE_ITEM_VALUE_CAP>
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