Struct slack_morphism_models::SlackUserProfile [−][src]
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]
&mut self,
value: Option<SlackDateTime>
) -> &mut Self
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]
&mut self,
value: Option<String>
) -> &mut Self
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]
fn clone(&self) -> SlackUserProfile
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for SlackUserProfile
[src]
impl<'de> Deserialize<'de> for SlackUserProfile
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl From<SlackUserProfileInit> for SlackUserProfile
[src]
fn from(value: SlackUserProfileInit) -> Self
[src]
impl PartialEq<SlackUserProfile> for SlackUserProfile
[src]
fn eq(&self, other: &SlackUserProfile) -> bool
[src]
fn ne(&self, other: &SlackUserProfile) -> bool
[src]
impl Serialize for SlackUserProfile
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for SlackUserProfile
[src]
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
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,