pub struct SlackApiUsersProfileGetResponse {
pub profile: SlackUserProfile,
}Fields§
§profile: SlackUserProfileImplementations§
Source§impl SlackApiUsersProfileGetResponse
impl SlackApiUsersProfileGetResponse
Sourcepub fn new(profile: SlackUserProfile) -> Self
pub fn new(profile: SlackUserProfile) -> Self
Creates a new SlackApiUsersProfileGetResponse 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 SlackApiUsersProfileGetResponse
impl<'de> Deserialize<'de> for SlackApiUsersProfileGetResponse
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<SlackApiUsersProfileGetResponseInit> for SlackApiUsersProfileGetResponse
impl From<SlackApiUsersProfileGetResponseInit> for SlackApiUsersProfileGetResponse
Source§fn from(value: SlackApiUsersProfileGetResponseInit) -> Self
fn from(value: SlackApiUsersProfileGetResponseInit) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for SlackApiUsersProfileGetResponse
Auto Trait Implementations§
impl Freeze for SlackApiUsersProfileGetResponse
impl RefUnwindSafe for SlackApiUsersProfileGetResponse
impl Send for SlackApiUsersProfileGetResponse
impl Sync for SlackApiUsersProfileGetResponse
impl Unpin for SlackApiUsersProfileGetResponse
impl UnsafeUnpin for SlackApiUsersProfileGetResponse
impl UnwindSafe for SlackApiUsersProfileGetResponse
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