pub struct Reporter { /* private fields */ }Expand description
Native representation of a Reporter
Contains a cryptographic public key, associated with an agent, of the agent authorized to
report updates to a Property. A flag indicator, authorized, determines whether the reporter
is still authorized to report updates.
Implementations§
Source§impl Reporter
impl Reporter
pub fn public_key(&self) -> &str
pub fn index(&self) -> &u32
pub fn into_builder(self) -> ReporterBuilder
Trait Implementations§
Source§impl FromBytes<Reporter> for Reporter
impl FromBytes<Reporter> for Reporter
fn from_bytes(bytes: &[u8]) -> Result<Reporter, ProtoConversionError>
Source§impl FromNative<Reporter> for Property_Reporter
impl FromNative<Reporter> for Property_Reporter
fn from_native(native: Reporter) -> Result<Self, ProtoConversionError>
Source§impl FromProto<Property_Reporter> for Reporter
impl FromProto<Property_Reporter> for Reporter
fn from_proto(proto: Property_Reporter) -> Result<Self, ProtoConversionError>
Source§impl IntoBytes for Reporter
impl IntoBytes for Reporter
fn into_bytes(self) -> Result<Vec<u8>, ProtoConversionError>
Source§impl IntoNative<Reporter> for Property_Reporter
impl IntoNative<Reporter> for Property_Reporter
fn into_native(self) -> Result<T, ProtoConversionError>
Source§impl IntoProto<Property_Reporter> for Reporter
impl IntoProto<Property_Reporter> for Reporter
fn into_proto(self) -> Result<T, ProtoConversionError>
impl StructuralPartialEq for Reporter
Auto Trait Implementations§
impl Freeze for Reporter
impl RefUnwindSafe for Reporter
impl Send for Reporter
impl Sync for Reporter
impl Unpin for Reporter
impl UnsafeUnpin for Reporter
impl UnwindSafe for Reporter
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