pub struct Agent { /* private fields */ }Expand description
Native representation of the state object Agent
An Agent is essentially a cryptographic public key which has a relationship, defined by the
agent’s Roles, with an Organization.
Implementations§
Trait Implementations§
Source§impl FromBytes<Agent> for Agent
impl FromBytes<Agent> for Agent
fn from_bytes(bytes: &[u8]) -> Result<Agent, ProtoConversionError>
Source§impl FromNative<Agent> for Agent
impl FromNative<Agent> for Agent
fn from_native(agent: Agent) -> Result<Self, ProtoConversionError>
Source§impl FromProto<Agent> for Agent
impl FromProto<Agent> for Agent
fn from_proto(agent: Agent) -> Result<Self, ProtoConversionError>
Source§impl IntoNative<Agent> for Agent
impl IntoNative<Agent> for Agent
fn into_native(self) -> Result<T, ProtoConversionError>
Source§impl IntoProto<Agent> for Agent
impl IntoProto<Agent> for Agent
fn into_proto(self) -> Result<T, ProtoConversionError>
impl StructuralPartialEq for Agent
Auto Trait Implementations§
impl Freeze for Agent
impl RefUnwindSafe for Agent
impl Send for Agent
impl Sync for Agent
impl Unpin for Agent
impl UnwindSafe for Agent
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