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