Struct slack_morphism::prelude::SlackUserProfile
source · [−]pub struct SlackUserProfile {
pub id: Option<SlackUserId>,
pub display_name: Option<String>,
pub real_name: Option<String>,
pub real_name_normalized: Option<String>,
pub avatar_hash: Option<String>,
pub status_text: Option<String>,
pub status_expiration: Option<SlackDateTime>,
pub display_name_normalized: Option<String>,
pub email: Option<String>,
pub icon: Option<SlackIcon>,
pub team: Option<String>,
}
Fields
id: Option<SlackUserId>
display_name: Option<String>
real_name: Option<String>
real_name_normalized: Option<String>
avatar_hash: Option<String>
status_text: Option<String>
status_expiration: Option<SlackDateTime>
display_name_normalized: Option<String>
email: Option<String>
icon: Option<SlackIcon>
team: Option<String>
Implementations
pub fn mopt_status_expiration(
&mut self,
value: Option<SlackDateTime>
) -> &mut SlackUserProfile
pub fn mopt_display_name_normalized(
&mut self,
value: Option<String>
) -> &mut SlackUserProfile
Trait Implementations
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<SlackUserProfile, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<SlackUserProfile, <__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 SlackUserProfile
impl Send for SlackUserProfile
impl Sync for SlackUserProfile
impl Unpin for SlackUserProfile
impl UnwindSafe for SlackUserProfile
Blanket Implementations
Mutably borrows from an owned value. Read more