pub enum ConsumerKind {
Bot,
Human,
Terminal,
Agent,
}Expand description
The coarse consumer class — the maximum actor granularity the event log may ever hold (invariant I-7).
Variants§
Bot
An unfurl/preview bot.
Human
A human in a browser.
Terminal
A terminal client (curl-class).
Agent
An AI agent presenting a context.
Trait Implementations§
Source§impl Clone for ConsumerKind
impl Clone for ConsumerKind
Source§fn clone(&self) -> ConsumerKind
fn clone(&self) -> ConsumerKind
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 ConsumerKind
Source§impl Debug for ConsumerKind
impl Debug for ConsumerKind
Source§impl<'de> Deserialize<'de> for ConsumerKind
impl<'de> Deserialize<'de> for ConsumerKind
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
impl Eq for ConsumerKind
Source§impl PartialEq for ConsumerKind
impl PartialEq for ConsumerKind
Source§impl Serialize for ConsumerKind
impl Serialize for ConsumerKind
impl StructuralPartialEq for ConsumerKind
Auto Trait Implementations§
impl Freeze for ConsumerKind
impl RefUnwindSafe for ConsumerKind
impl Send for ConsumerKind
impl Sync for ConsumerKind
impl Unpin for ConsumerKind
impl UnsafeUnpin for ConsumerKind
impl UnwindSafe for ConsumerKind
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