Struct grid_sdk::protocol::track_and_trace::state::ReportedValueBuilder
source · [−]pub struct ReportedValueBuilder { /* private fields */ }
Expand description
Builder used to create a ReportedValue
Implementations
sourceimpl ReportedValueBuilder
impl ReportedValueBuilder
pub fn new() -> Self
pub fn with_reporter_index(self, value: u32) -> Self
pub fn with_timestamp(self, value: u64) -> Self
pub fn with_value(self, value: PropertyValue) -> Self
pub fn build(self) -> Result<ReportedValue, BuilderError>
Trait Implementations
sourceimpl Debug for ReportedValueBuilder
impl Debug for ReportedValueBuilder
sourceimpl Default for ReportedValueBuilder
impl Default for ReportedValueBuilder
sourcefn default() -> ReportedValueBuilder
fn default() -> ReportedValueBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for ReportedValueBuilder
impl Send for ReportedValueBuilder
impl Sync for ReportedValueBuilder
impl Unpin for ReportedValueBuilder
impl UnwindSafe for ReportedValueBuilder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more