pub struct Group {
pub id: i32,
pub name: String,
pub screen_name: String,
pub is_closed: i32,
pub group_type: String,
pub photo_50: String,
pub photo_100: String,
pub photo_200: String,
}Expand description
Represents a group within the conversation
Fields§
§id: i32The group’s identifier
name: StringThe name of the group
screen_name: StringThe group’s screen name or alias
is_closed: i32Indicates the group’s closed status with an integer (likely 0 for open, 1 for closed)
group_type: StringThe type of the group (e.g., “group”)
photo_50: StringURL to the group’s photo of size 50x50 pixels
photo_100: StringURL to the group’s photo of size 100x100 pixels
photo_200: StringURL to the group’s photo of size 200x200 pixels
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Group
impl<'de> Deserialize<'de> for Group
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
Auto Trait Implementations§
impl Freeze for Group
impl RefUnwindSafe for Group
impl Send for Group
impl Sync for Group
impl Unpin for Group
impl UnwindSafe for Group
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