pub struct CommunityFull {
pub id: i64,
pub about: String,
pub chat_photo: Photo,
pub linked_peers: Vec<CommunityPeer>,
pub admins_count: Option<i32>,
pub kicked_count: Option<i32>,
pub peer_link_requests_pending: Option<i32>,
}Expand description
Generated from:
communityFull#cbb7a507 flags:# id:long about:string chat_photo:Photo linked_peers:Vector<CommunityPeer> admins_count:flags.1?int kicked_count:flags.2?int peer_link_requests_pending:flags.0?int = ChatFullFields§
§id: i64§about: String§chat_photo: Photo§linked_peers: Vec<CommunityPeer>§admins_count: Option<i32>§kicked_count: Option<i32>§peer_link_requests_pending: Option<i32>Trait Implementations§
Source§impl Clone for CommunityFull
impl Clone for CommunityFull
Source§fn clone(&self) -> CommunityFull
fn clone(&self) -> CommunityFull
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CommunityFull
impl Debug for CommunityFull
Source§impl Deserializable for CommunityFull
impl Deserializable for CommunityFull
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<CommunityFull> for ChatFull
impl From<CommunityFull> for ChatFull
Source§fn from(x: CommunityFull) -> Self
fn from(x: CommunityFull) -> Self
Converts to this type from the input type.
Source§impl Identifiable for CommunityFull
impl Identifiable for CommunityFull
Source§const CONSTRUCTOR_ID: u32 = 0xcbb7a507
const CONSTRUCTOR_ID: u32 = 0xcbb7a507
The constructor ID as specified in the TL schema.
Source§impl PartialEq for CommunityFull
impl PartialEq for CommunityFull
Source§impl Serializable for CommunityFull
impl Serializable for CommunityFull
impl StructuralPartialEq for CommunityFull
Auto Trait Implementations§
impl Freeze for CommunityFull
impl RefUnwindSafe for CommunityFull
impl Send for CommunityFull
impl Sync for CommunityFull
impl Unpin for CommunityFull
impl UnsafeUnpin for CommunityFull
impl UnwindSafe for CommunityFull
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