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
sourceimpl FromBytes<Agent> for Agent
impl FromBytes<Agent> for Agent
fn from_bytes(bytes: &[u8]) -> Result<Agent, ProtoConversionError>
sourceimpl FromNative<Agent> for Agent
impl FromNative<Agent> for Agent
fn from_native(agent: Agent) -> Result<Self, ProtoConversionError>
sourceimpl FromProto<Agent> for Agent
impl FromProto<Agent> for Agent
fn from_proto(agent: Agent) -> Result<Self, ProtoConversionError>
sourceimpl IntoBytes for Agent
impl IntoBytes for Agent
fn into_bytes(self) -> Result<Vec<u8>, ProtoConversionError>
sourceimpl IntoNative<Agent> for Agent
impl IntoNative<Agent> for Agent
fn into_native(self) -> Result<T, ProtoConversionError>
sourceimpl IntoProto<Agent> for Agent
impl IntoProto<Agent> for Agent
fn into_proto(self) -> Result<T, ProtoConversionError>
impl StructuralPartialEq for Agent
Auto Trait Implementations
impl RefUnwindSafe for Agent
impl Send for Agent
impl Sync for Agent
impl Unpin for Agent
impl UnwindSafe for Agent
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