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
sourceimpl Reporter
impl Reporter
pub fn public_key(&self) -> &str
pub fn index(&self) -> &u32
pub fn into_builder(self) -> ReporterBuilder
Trait Implementations
sourceimpl FromBytes<Reporter> for Reporter
impl FromBytes<Reporter> for Reporter
fn from_bytes(bytes: &[u8]) -> Result<Reporter, ProtoConversionError>
sourceimpl FromNative<Reporter> for Property_Reporter
impl FromNative<Reporter> for Property_Reporter
fn from_native(native: Reporter) -> Result<Self, ProtoConversionError>
sourceimpl FromProto<Property_Reporter> for Reporter
impl FromProto<Property_Reporter> for Reporter
fn from_proto(proto: Property_Reporter) -> Result<Self, ProtoConversionError>
sourceimpl IntoBytes for Reporter
impl IntoBytes for Reporter
fn into_bytes(self) -> Result<Vec<u8>, ProtoConversionError>
sourceimpl IntoNative<Reporter> for Property_Reporter
impl IntoNative<Reporter> for Property_Reporter
fn into_native(self) -> Result<T, ProtoConversionError>
sourceimpl 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 RefUnwindSafe for Reporter
impl Send for Reporter
impl Sync for Reporter
impl Unpin for Reporter
impl UnwindSafe for Reporter
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