pub enum AgentOrObjectKey {
Agent(AgentKey),
Object(ObjectKey),
}Expand description
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for AgentOrObjectKey
impl Clone for AgentOrObjectKey
Source§fn clone(&self) -> AgentOrObjectKey
fn clone(&self) -> AgentOrObjectKey
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 moreimpl Copy for AgentOrObjectKey
Source§impl Debug for AgentOrObjectKey
impl Debug for AgentOrObjectKey
Source§impl Display for AgentOrObjectKey
impl Display for AgentOrObjectKey
impl Eq for AgentOrObjectKey
Source§impl From<AgentOrObjectKey> for Key
impl From<AgentOrObjectKey> for Key
Source§fn from(val: AgentOrObjectKey) -> Self
fn from(val: AgentOrObjectKey) -> Self
Converts to this type from the input type.
Source§impl Hash for AgentOrObjectKey
impl Hash for AgentOrObjectKey
Source§impl PartialEq for AgentOrObjectKey
impl PartialEq for AgentOrObjectKey
Source§fn eq(&self, other: &AgentOrObjectKey) -> bool
fn eq(&self, other: &AgentOrObjectKey) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AgentOrObjectKey
Auto Trait Implementations§
impl Freeze for AgentOrObjectKey
impl RefUnwindSafe for AgentOrObjectKey
impl Send for AgentOrObjectKey
impl Sync for AgentOrObjectKey
impl Unpin for AgentOrObjectKey
impl UnsafeUnpin for AgentOrObjectKey
impl UnwindSafe for AgentOrObjectKey
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