pub struct BasicGroup {
pub id: i64,
pub member_count: i32,
pub status: ChatMemberStatus,
pub is_active: bool,
pub upgraded_to_supergroup_id: i64,
}
Expand description
Represents a basic group of 0-200 users (must be upgraded to a supergroup to accommodate more than 200 users)
Fields§
§id: i64
Group identifier
member_count: i32
Number of members in the group
status: ChatMemberStatus
Status of the current user in the group
is_active: bool
True, if the group is active
upgraded_to_supergroup_id: i64
Identifier of the supergroup to which this group was upgraded; 0 if none
Trait Implementations§
Source§impl Clone for BasicGroup
impl Clone for BasicGroup
Source§fn clone(&self) -> BasicGroup
fn clone(&self) -> BasicGroup
Returns a duplicate 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 BasicGroup
impl Debug for BasicGroup
Source§impl<'de> Deserialize<'de> for BasicGroup
impl<'de> Deserialize<'de> for BasicGroup
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 BasicGroup
impl PartialEq for BasicGroup
Source§impl Serialize for BasicGroup
impl Serialize for BasicGroup
impl StructuralPartialEq for BasicGroup
Auto Trait Implementations§
impl Freeze for BasicGroup
impl RefUnwindSafe for BasicGroup
impl Send for BasicGroup
impl Sync for BasicGroup
impl Unpin for BasicGroup
impl UnwindSafe for BasicGroup
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