pub struct AssociatedAgent { /* private fields */ }Expand description
Native representation of an AssociatedAgent
This struct represents a cryptographic public key that identifies an agent associated with
a Record
Implementations§
Source§impl AssociatedAgent
impl AssociatedAgent
pub fn agent_id(&self) -> &str
pub fn timestamp(&self) -> &u64
pub fn into_builder(self) -> AssociatedAgentBuilder
Trait Implementations§
Source§impl Clone for AssociatedAgent
impl Clone for AssociatedAgent
Source§fn clone(&self) -> AssociatedAgent
fn clone(&self) -> AssociatedAgent
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 AssociatedAgent
impl Debug for AssociatedAgent
Source§impl FromBytes<AssociatedAgent> for AssociatedAgent
impl FromBytes<AssociatedAgent> for AssociatedAgent
fn from_bytes(bytes: &[u8]) -> Result<AssociatedAgent, ProtoConversionError>
Source§impl FromNative<AssociatedAgent> for Record_AssociatedAgent
impl FromNative<AssociatedAgent> for Record_AssociatedAgent
fn from_native(native: AssociatedAgent) -> Result<Self, ProtoConversionError>
Source§impl FromProto<Record_AssociatedAgent> for AssociatedAgent
impl FromProto<Record_AssociatedAgent> for AssociatedAgent
fn from_proto( proto: Record_AssociatedAgent, ) -> Result<Self, ProtoConversionError>
Source§impl IntoBytes for AssociatedAgent
impl IntoBytes for AssociatedAgent
fn into_bytes(self) -> Result<Vec<u8>, ProtoConversionError>
Source§impl IntoNative<AssociatedAgent> for Record_AssociatedAgent
impl IntoNative<AssociatedAgent> for Record_AssociatedAgent
fn into_native(self) -> Result<T, ProtoConversionError>
Source§impl IntoProto<Record_AssociatedAgent> for AssociatedAgent
impl IntoProto<Record_AssociatedAgent> for AssociatedAgent
fn into_proto(self) -> Result<T, ProtoConversionError>
Source§impl PartialEq for AssociatedAgent
impl PartialEq for AssociatedAgent
impl StructuralPartialEq for AssociatedAgent
Auto Trait Implementations§
impl Freeze for AssociatedAgent
impl RefUnwindSafe for AssociatedAgent
impl Send for AssociatedAgent
impl Sync for AssociatedAgent
impl Unpin for AssociatedAgent
impl UnsafeUnpin for AssociatedAgent
impl UnwindSafe for AssociatedAgent
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