pub struct EveryoneContent {
pub permissions: u64,
pub legacy: Option<BTreeSet<String>>,
pub extra: Map<String, Value>,
}Expand description
@everyone’s content (vsk 13 at everyone_locator): its permissions alone.
Fields§
§permissions: u64§legacy: Option<BTreeSet<String>>The Channels that stood before the switch (CORD-04 §2), carried by every later edition.
extra: Map<String, Value>Trait Implementations§
Source§impl Clone for EveryoneContent
impl Clone for EveryoneContent
Source§impl Debug for EveryoneContent
impl Debug for EveryoneContent
Source§impl<'de> Deserialize<'de> for EveryoneContent
impl<'de> Deserialize<'de> for EveryoneContent
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 PartialEq for EveryoneContent
impl PartialEq for EveryoneContent
Source§impl Serialize for EveryoneContent
impl Serialize for EveryoneContent
impl StructuralPartialEq for EveryoneContent
Auto Trait Implementations§
impl Forget for EveryoneContent
impl Freeze for EveryoneContent
impl Move for EveryoneContent
impl RefUnwindSafe for EveryoneContent
impl Send for EveryoneContent
impl Sync for EveryoneContent
impl Unpin for EveryoneContent
impl UnsafeUnpin for EveryoneContent
impl UnwindSafe for EveryoneContent
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more