pub struct SlackApiUsersProfileSetResponse {
pub profile: SlackUserProfile,
}Fields§
§profile: SlackUserProfileImplementations§
Source§impl SlackApiUsersProfileSetResponse
impl SlackApiUsersProfileSetResponse
Sourcepub fn new(profile: SlackUserProfile) -> Self
pub fn new(profile: SlackUserProfile) -> Self
Creates a new SlackApiUsersProfileSetResponse from its required fields. Option fields start as None, and fields with #[default] take their default.
Sourcepub fn profile(&mut self, value: SlackUserProfile) -> &mut Self
pub fn profile(&mut self, value: SlackUserProfile) -> &mut Self
Sets profile to value.
Sourcepub fn with_profile(self, value: SlackUserProfile) -> Self
pub fn with_profile(self, value: SlackUserProfile) -> Self
Returns self with profile set to value.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SlackApiUsersProfileSetResponse
impl<'de> Deserialize<'de> for SlackApiUsersProfileSetResponse
Source§fn 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
Source§impl From<SlackApiUsersProfileSetResponseInit> for SlackApiUsersProfileSetResponse
impl From<SlackApiUsersProfileSetResponseInit> for SlackApiUsersProfileSetResponse
Source§fn from(value: SlackApiUsersProfileSetResponseInit) -> Self
fn from(value: SlackApiUsersProfileSetResponseInit) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for SlackApiUsersProfileSetResponse
Auto Trait Implementations§
impl Freeze for SlackApiUsersProfileSetResponse
impl RefUnwindSafe for SlackApiUsersProfileSetResponse
impl Send for SlackApiUsersProfileSetResponse
impl Sync for SlackApiUsersProfileSetResponse
impl Unpin for SlackApiUsersProfileSetResponse
impl UnsafeUnpin for SlackApiUsersProfileSetResponse
impl UnwindSafe for SlackApiUsersProfileSetResponse
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more