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<'de> Deserialize<'de> for AgentOrObjectKey
impl<'de> Deserialize<'de> for AgentOrObjectKey
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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 Ord for AgentOrObjectKey
impl Ord for AgentOrObjectKey
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for AgentOrObjectKey
impl PartialEq for AgentOrObjectKey
Source§impl PartialOrd for AgentOrObjectKey
impl PartialOrd for AgentOrObjectKey
Source§impl Serialize for AgentOrObjectKey
impl Serialize for AgentOrObjectKey
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