Struct slack_morphism_models::SlackUserProfile[][src]

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

impl SlackUserProfile[src]

pub fn new() -> Self[src]

pub fn id(&mut self, value: SlackUserId) -> &mut Self[src]

pub fn reset_id(&mut self) -> &mut Self[src]

pub fn mopt_id(&mut self, value: Option<SlackUserId>) -> &mut Self[src]

pub fn with_id(self, value: SlackUserId) -> Self[src]

pub fn without_id(self) -> Self[src]

pub fn opt_id(self, value: Option<SlackUserId>) -> Self[src]

pub fn display_name(&mut self, value: String) -> &mut Self[src]

pub fn reset_display_name(&mut self) -> &mut Self[src]

pub fn mopt_display_name(&mut self, value: Option<String>) -> &mut Self[src]

pub fn with_display_name(self, value: String) -> Self[src]

pub fn without_display_name(self) -> Self[src]

pub fn opt_display_name(self, value: Option<String>) -> Self[src]

pub fn real_name(&mut self, value: String) -> &mut Self[src]

pub fn reset_real_name(&mut self) -> &mut Self[src]

pub fn mopt_real_name(&mut self, value: Option<String>) -> &mut Self[src]

pub fn with_real_name(self, value: String) -> Self[src]

pub fn without_real_name(self) -> Self[src]

pub fn opt_real_name(self, value: Option<String>) -> Self[src]

pub fn real_name_normalized(&mut self, value: String) -> &mut Self[src]

pub fn reset_real_name_normalized(&mut self) -> &mut Self[src]

pub fn mopt_real_name_normalized(&mut self, value: Option<String>) -> &mut Self[src]

pub fn with_real_name_normalized(self, value: String) -> Self[src]

pub fn without_real_name_normalized(self) -> Self[src]

pub fn opt_real_name_normalized(self, value: Option<String>) -> Self[src]

pub fn avatar_hash(&mut self, value: String) -> &mut Self[src]

pub fn reset_avatar_hash(&mut self) -> &mut Self[src]

pub fn mopt_avatar_hash(&mut self, value: Option<String>) -> &mut Self[src]

pub fn with_avatar_hash(self, value: String) -> Self[src]

pub fn without_avatar_hash(self) -> Self[src]

pub fn opt_avatar_hash(self, value: Option<String>) -> Self[src]

pub fn status_text(&mut self, value: String) -> &mut Self[src]

pub fn reset_status_text(&mut self) -> &mut Self[src]

pub fn mopt_status_text(&mut self, value: Option<String>) -> &mut Self[src]

pub fn with_status_text(self, value: String) -> Self[src]

pub fn without_status_text(self) -> Self[src]

pub fn opt_status_text(self, value: Option<String>) -> Self[src]

pub fn status_expiration(&mut self, value: SlackDateTime) -> &mut Self[src]

pub fn reset_status_expiration(&mut self) -> &mut Self[src]

pub fn mopt_status_expiration(
    &mut self,
    value: Option<SlackDateTime>
) -> &mut Self
[src]

pub fn with_status_expiration(self, value: SlackDateTime) -> Self[src]

pub fn without_status_expiration(self) -> Self[src]

pub fn opt_status_expiration(self, value: Option<SlackDateTime>) -> Self[src]

pub fn display_name_normalized(&mut self, value: String) -> &mut Self[src]

pub fn reset_display_name_normalized(&mut self) -> &mut Self[src]

pub fn mopt_display_name_normalized(
    &mut self,
    value: Option<String>
) -> &mut Self
[src]

pub fn with_display_name_normalized(self, value: String) -> Self[src]

pub fn without_display_name_normalized(self) -> Self[src]

pub fn opt_display_name_normalized(self, value: Option<String>) -> Self[src]

pub fn email(&mut self, value: String) -> &mut Self[src]

pub fn reset_email(&mut self) -> &mut Self[src]

pub fn mopt_email(&mut self, value: Option<String>) -> &mut Self[src]

pub fn with_email(self, value: String) -> Self[src]

pub fn without_email(self) -> Self[src]

pub fn opt_email(self, value: Option<String>) -> Self[src]

pub fn icon(&mut self, value: SlackIcon) -> &mut Self[src]

pub fn reset_icon(&mut self) -> &mut Self[src]

pub fn mopt_icon(&mut self, value: Option<SlackIcon>) -> &mut Self[src]

pub fn with_icon(self, value: SlackIcon) -> Self[src]

pub fn without_icon(self) -> Self[src]

pub fn opt_icon(self, value: Option<SlackIcon>) -> Self[src]

pub fn team(&mut self, value: String) -> &mut Self[src]

pub fn reset_team(&mut self) -> &mut Self[src]

pub fn mopt_team(&mut self, value: Option<String>) -> &mut Self[src]

pub fn with_team(self, value: String) -> Self[src]

pub fn without_team(self) -> Self[src]

pub fn opt_team(self, value: Option<String>) -> Self[src]

Trait Implementations

impl Clone for SlackUserProfile[src]

impl Debug for SlackUserProfile[src]

impl<'de> Deserialize<'de> for SlackUserProfile[src]

impl From<SlackUserProfileInit> for SlackUserProfile[src]

impl PartialEq<SlackUserProfile> for SlackUserProfile[src]

impl Serialize for SlackUserProfile[src]

impl StructuralPartialEq for SlackUserProfile[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.