pub struct ReportedValueBuilder { /* private fields */ }Expand description
Builder used to create a ReportedValue
Implementations§
Source§impl 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§
Source§impl Debug for ReportedValueBuilder
impl Debug for ReportedValueBuilder
Source§impl Default for ReportedValueBuilder
impl Default for ReportedValueBuilder
Source§fn default() -> ReportedValueBuilder
fn default() -> ReportedValueBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ReportedValueBuilder
impl RefUnwindSafe for ReportedValueBuilder
impl Send for ReportedValueBuilder
impl Sync for ReportedValueBuilder
impl Unpin for ReportedValueBuilder
impl UnsafeUnpin for ReportedValueBuilder
impl UnwindSafe for ReportedValueBuilder
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