pub struct SlackApiUsersProfileGetResponse {
pub profile: SlackUserProfile,
}
Fields§
§profile: SlackUserProfile
Implementations§
source§impl SlackApiUsersProfileGetResponse
impl SlackApiUsersProfileGetResponse
pub fn new(profile: SlackUserProfile) -> Self
pub fn profile(&mut self, value: SlackUserProfile) -> &mut Self
pub fn with_profile(self, value: SlackUserProfile) -> Self
Trait Implementations§
source§impl Clone for SlackApiUsersProfileGetResponse
impl Clone for SlackApiUsersProfileGetResponse
source§fn clone(&self) -> SlackApiUsersProfileGetResponse
fn clone(&self) -> SlackApiUsersProfileGetResponse
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§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.
source§impl PartialEq for SlackApiUsersProfileGetResponse
impl PartialEq for SlackApiUsersProfileGetResponse
source§fn eq(&self, other: &SlackApiUsersProfileGetResponse) -> bool
fn eq(&self, other: &SlackApiUsersProfileGetResponse) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SlackApiUsersProfileGetResponse
Auto Trait Implementations§
impl RefUnwindSafe for SlackApiUsersProfileGetResponse
impl Send for SlackApiUsersProfileGetResponse
impl Sync for SlackApiUsersProfileGetResponse
impl Unpin 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