pub struct SlackApiUsersProfileSetRequest {
pub profile: SlackUserProfile,
pub user: Option<SlackUserId>,
}Fields
profile: SlackUserProfileuser: Option<SlackUserId>Implementations
sourceimpl SlackApiUsersProfileSetRequest
impl SlackApiUsersProfileSetRequest
pub fn new(profile: SlackUserProfile) -> Self
pub fn profile(&mut self, value: SlackUserProfile) -> &mut Self
pub fn with_profile(self, value: SlackUserProfile) -> Self
pub fn user(&mut self, value: SlackUserId) -> &mut Self
pub fn reset_user(&mut self) -> &mut Self
pub fn mopt_user(&mut self, value: Option<SlackUserId>) -> &mut Self
pub fn with_user(self, value: SlackUserId) -> Self
pub fn without_user(self) -> Self
pub fn opt_user(self, value: Option<SlackUserId>) -> Self
Trait Implementations
sourceimpl Clone for SlackApiUsersProfileSetRequest
impl Clone for SlackApiUsersProfileSetRequest
sourcefn clone(&self) -> SlackApiUsersProfileSetRequest
fn clone(&self) -> SlackApiUsersProfileSetRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl<'de> Deserialize<'de> for SlackApiUsersProfileSetRequest
impl<'de> Deserialize<'de> for SlackApiUsersProfileSetRequest
sourcefn 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
sourceimpl From<SlackApiUsersProfileSetRequestInit> for SlackApiUsersProfileSetRequest
impl From<SlackApiUsersProfileSetRequestInit> for SlackApiUsersProfileSetRequest
sourcefn from(value: SlackApiUsersProfileSetRequestInit) -> Self
fn from(value: SlackApiUsersProfileSetRequestInit) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<SlackApiUsersProfileSetRequest> for SlackApiUsersProfileSetRequest
impl PartialEq<SlackApiUsersProfileSetRequest> for SlackApiUsersProfileSetRequest
sourcefn eq(&self, other: &SlackApiUsersProfileSetRequest) -> bool
fn eq(&self, other: &SlackApiUsersProfileSetRequest) -> bool
impl StructuralPartialEq for SlackApiUsersProfileSetRequest
Auto Trait Implementations
impl RefUnwindSafe for SlackApiUsersProfileSetRequest
impl Send for SlackApiUsersProfileSetRequest
impl Sync for SlackApiUsersProfileSetRequest
impl Unpin for SlackApiUsersProfileSetRequest
impl UnwindSafe for SlackApiUsersProfileSetRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more