pub struct DialogPeerCommunity {
pub community_id: i64,
}Expand description
Fields§
§community_id: i64Trait Implementations§
Source§impl Clone for DialogPeerCommunity
impl Clone for DialogPeerCommunity
Source§fn clone(&self) -> DialogPeerCommunity
fn clone(&self) -> DialogPeerCommunity
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 DialogPeerCommunity
impl Debug for DialogPeerCommunity
Source§impl Deserializable for DialogPeerCommunity
impl Deserializable for DialogPeerCommunity
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<DialogPeerCommunity> for DialogPeer
impl From<DialogPeerCommunity> for DialogPeer
Source§fn from(x: DialogPeerCommunity) -> Self
fn from(x: DialogPeerCommunity) -> Self
Converts to this type from the input type.
Source§impl Identifiable for DialogPeerCommunity
impl Identifiable for DialogPeerCommunity
Source§const CONSTRUCTOR_ID: u32 = 0x2f65c8e4
const CONSTRUCTOR_ID: u32 = 0x2f65c8e4
The constructor ID as specified in the TL schema.
Source§impl PartialEq for DialogPeerCommunity
impl PartialEq for DialogPeerCommunity
Source§impl Serializable for DialogPeerCommunity
impl Serializable for DialogPeerCommunity
impl StructuralPartialEq for DialogPeerCommunity
Source§impl TryFrom<DialogPeer> for DialogPeerCommunity
impl TryFrom<DialogPeer> for DialogPeerCommunity
Source§type Error = DialogPeer
type Error = DialogPeer
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for DialogPeerCommunity
impl RefUnwindSafe for DialogPeerCommunity
impl Send for DialogPeerCommunity
impl Sync for DialogPeerCommunity
impl Unpin for DialogPeerCommunity
impl UnsafeUnpin for DialogPeerCommunity
impl UnwindSafe for DialogPeerCommunity
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