pub enum ConsentScope {
ReadMessages,
SendMessages,
JoinChannels,
ViewPresence,
ShareContent,
ScheduleMessages,
Federate,
HiveParticipation,
Affect,
Hive,
}Expand description
Scope of a consent grant.
Variants§
ReadMessages
Can read messages from agent.
SendMessages
Can send messages to agent.
JoinChannels
Can join channels the agent is in.
ViewPresence
Can see agent’s presence/availability.
Can share agent’s messages with others.
ScheduleMessages
Can schedule deferred messages.
Federate
Can federate messages across zones.
HiveParticipation
Can include in hive-mind groups.
Affect
Can read/share affect (emotional state) information.
Hive
Can participate in hive-mind operations (broader than HiveParticipation).
Trait Implementations§
Source§impl Clone for ConsentScope
impl Clone for ConsentScope
Source§fn clone(&self) -> ConsentScope
fn clone(&self) -> ConsentScope
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 moreSource§impl Debug for ConsentScope
impl Debug for ConsentScope
Source§impl<'de> Deserialize<'de> for ConsentScope
impl<'de> Deserialize<'de> for ConsentScope
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 ConsentScope
impl Display for ConsentScope
impl Eq for ConsentScope
Source§impl FromStr for ConsentScope
impl FromStr for ConsentScope
Source§impl Hash for ConsentScope
impl Hash for ConsentScope
Source§impl PartialEq for ConsentScope
impl PartialEq for ConsentScope
Source§impl Serialize for ConsentScope
impl Serialize for ConsentScope
impl StructuralPartialEq for ConsentScope
Auto Trait Implementations§
impl Freeze for ConsentScope
impl RefUnwindSafe for ConsentScope
impl Send for ConsentScope
impl Sync for ConsentScope
impl Unpin for ConsentScope
impl UnsafeUnpin for ConsentScope
impl UnwindSafe for ConsentScope
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