Struct slack_morphism::prelude::SlackUserFlags
source · [−]pub struct SlackUserFlags {
pub is_admin: Option<bool>,
pub is_app_user: Option<bool>,
pub is_bot: Option<bool>,
pub is_invited_user: Option<bool>,
pub is_owner: Option<bool>,
pub is_primary_owner: Option<bool>,
pub is_restricted: Option<bool>,
pub is_stranger: Option<bool>,
pub is_ultra_restricted: Option<bool>,
}
Fields
is_admin: Option<bool>
is_app_user: Option<bool>
is_bot: Option<bool>
is_invited_user: Option<bool>
is_owner: Option<bool>
is_primary_owner: Option<bool>
is_restricted: Option<bool>
is_stranger: Option<bool>
is_ultra_restricted: Option<bool>
Implementations
Trait Implementations
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<SlackUserFlags, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<SlackUserFlags, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for SlackUserFlags
impl Send for SlackUserFlags
impl Sync for SlackUserFlags
impl Unpin for SlackUserFlags
impl UnwindSafe for SlackUserFlags
Blanket Implementations
Mutably borrows from an owned value. Read more