Struct grid_sdk::protocol::track_and_trace::state::PropertyPage
source · [−]pub struct PropertyPage { /* private fields */ }Expand description
Native representation of a PropertyPage
Treated by the Track and Trace transaction processer as a ring buffer to hold all historical
reported values for the corresponding Property. Once the reserved namespaces for property
pages are filled, the next update will overwrite the oldest page within the namespace.
Implementations
sourceimpl PropertyPage
impl PropertyPage
pub fn name(&self) -> &str
pub fn record_id(&self) -> &str
pub fn reported_values(&self) -> &[ReportedValue]
pub fn into_builder(self) -> PropertyPageBuilder
Trait Implementations
sourceimpl Clone for PropertyPage
impl Clone for PropertyPage
sourcefn clone(&self) -> PropertyPage
fn clone(&self) -> PropertyPage
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for PropertyPage
impl Debug for PropertyPage
sourceimpl FromBytes<PropertyPage> for PropertyPage
impl FromBytes<PropertyPage> for PropertyPage
fn from_bytes(bytes: &[u8]) -> Result<PropertyPage, ProtoConversionError>
sourceimpl FromNative<PropertyPage> for PropertyPage
impl FromNative<PropertyPage> for PropertyPage
fn from_native(native: PropertyPage) -> Result<Self, ProtoConversionError>
sourceimpl FromProto<PropertyPage> for PropertyPage
impl FromProto<PropertyPage> for PropertyPage
fn from_proto(proto: PropertyPage) -> Result<Self, ProtoConversionError>
sourceimpl IntoBytes for PropertyPage
impl IntoBytes for PropertyPage
fn into_bytes(self) -> Result<Vec<u8>, ProtoConversionError>
sourceimpl IntoNative<PropertyPage> for PropertyPage
impl IntoNative<PropertyPage> for PropertyPage
fn into_native(self) -> Result<T, ProtoConversionError>
sourceimpl IntoProto<PropertyPage> for PropertyPage
impl IntoProto<PropertyPage> for PropertyPage
fn into_proto(self) -> Result<T, ProtoConversionError>
sourceimpl PartialEq<PropertyPage> for PropertyPage
impl PartialEq<PropertyPage> for PropertyPage
sourcefn eq(&self, other: &PropertyPage) -> bool
fn eq(&self, other: &PropertyPage) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &PropertyPage) -> bool
fn ne(&self, other: &PropertyPage) -> bool
This method tests for !=.
impl StructuralPartialEq for PropertyPage
Auto Trait Implementations
impl RefUnwindSafe for PropertyPage
impl Send for PropertyPage
impl Sync for PropertyPage
impl Unpin for PropertyPage
impl UnwindSafe for PropertyPage
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