pub struct ReportedValue { /* private fields */ }Expand description
Native representation of a reported property value
Contains an updated Property value as reported by an authorized agent.
Implementations§
Source§impl ReportedValue
impl ReportedValue
pub fn reporter_index(&self) -> &u32
pub fn timestamp(&self) -> &u64
pub fn value(&self) -> &PropertyValue
pub fn into_builder(self) -> ReportedValueBuilder
Trait Implementations§
Source§impl Clone for ReportedValue
impl Clone for ReportedValue
Source§fn clone(&self) -> ReportedValue
fn clone(&self) -> ReportedValue
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 Debug for ReportedValue
impl Debug for ReportedValue
Source§impl FromBytes<ReportedValue> for ReportedValue
impl FromBytes<ReportedValue> for ReportedValue
fn from_bytes(bytes: &[u8]) -> Result<ReportedValue, ProtoConversionError>
Source§impl FromNative<ReportedValue> for PropertyPage_ReportedValue
impl FromNative<ReportedValue> for PropertyPage_ReportedValue
fn from_native(native: ReportedValue) -> Result<Self, ProtoConversionError>
Source§impl FromProto<PropertyPage_ReportedValue> for ReportedValue
impl FromProto<PropertyPage_ReportedValue> for ReportedValue
fn from_proto( proto: PropertyPage_ReportedValue, ) -> Result<Self, ProtoConversionError>
Source§impl IntoBytes for ReportedValue
impl IntoBytes for ReportedValue
fn into_bytes(self) -> Result<Vec<u8>, ProtoConversionError>
Source§impl IntoNative<ReportedValue> for PropertyPage_ReportedValue
impl IntoNative<ReportedValue> for PropertyPage_ReportedValue
fn into_native(self) -> Result<T, ProtoConversionError>
Source§impl IntoProto<PropertyPage_ReportedValue> for ReportedValue
impl IntoProto<PropertyPage_ReportedValue> for ReportedValue
fn into_proto(self) -> Result<T, ProtoConversionError>
Source§impl PartialEq for ReportedValue
impl PartialEq for ReportedValue
impl StructuralPartialEq for ReportedValue
Auto Trait Implementations§
impl Freeze for ReportedValue
impl RefUnwindSafe for ReportedValue
impl Send for ReportedValue
impl Sync for ReportedValue
impl Unpin for ReportedValue
impl UnsafeUnpin for ReportedValue
impl UnwindSafe for ReportedValue
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