pub struct GroupUserProfileResponse {
pub display_name: String,
pub user_id: String,
pub picture_url: Option<String>,
}
Fields§
§display_name: String
User’s display name
user_id: String
User ID
picture_url: Option<String>
Profile image URL. https
image URL. Not included in the response if the user doesn’t have a profile image.
Implementations§
Source§impl GroupUserProfileResponse
impl GroupUserProfileResponse
pub fn new(display_name: String, user_id: String) -> GroupUserProfileResponse
Trait Implementations§
Source§impl Clone for GroupUserProfileResponse
impl Clone for GroupUserProfileResponse
Source§fn clone(&self) -> GroupUserProfileResponse
fn clone(&self) -> GroupUserProfileResponse
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 Debug for GroupUserProfileResponse
impl Debug for GroupUserProfileResponse
Source§impl Default for GroupUserProfileResponse
impl Default for GroupUserProfileResponse
Source§fn default() -> GroupUserProfileResponse
fn default() -> GroupUserProfileResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GroupUserProfileResponse
impl<'de> Deserialize<'de> for GroupUserProfileResponse
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 PartialEq for GroupUserProfileResponse
impl PartialEq for GroupUserProfileResponse
Source§impl Serialize for GroupUserProfileResponse
impl Serialize for GroupUserProfileResponse
impl StructuralPartialEq for GroupUserProfileResponse
Auto Trait Implementations§
impl Freeze for GroupUserProfileResponse
impl RefUnwindSafe for GroupUserProfileResponse
impl Send for GroupUserProfileResponse
impl Sync for GroupUserProfileResponse
impl Unpin for GroupUserProfileResponse
impl UnwindSafe for GroupUserProfileResponse
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