pub struct DialogCommunity {
pub pinned: bool,
pub community_id: i64,
pub notify_settings: PeerNotifySettings,
}Expand description
Generated from:
dialogCommunity#f78a0973 flags:# pinned:flags.2?true community_id:long notify_settings:PeerNotifySettings = DialogFields§
§pinned: bool§community_id: i64§notify_settings: PeerNotifySettingsTrait Implementations§
Source§impl Clone for DialogCommunity
impl Clone for DialogCommunity
Source§fn clone(&self) -> DialogCommunity
fn clone(&self) -> DialogCommunity
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 DialogCommunity
impl Debug for DialogCommunity
Source§impl Deserializable for DialogCommunity
impl Deserializable for DialogCommunity
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<DialogCommunity> for Dialog
impl From<DialogCommunity> for Dialog
Source§fn from(x: DialogCommunity) -> Self
fn from(x: DialogCommunity) -> Self
Converts to this type from the input type.
Source§impl Identifiable for DialogCommunity
impl Identifiable for DialogCommunity
Source§const CONSTRUCTOR_ID: u32 = 0xf78a0973
const CONSTRUCTOR_ID: u32 = 0xf78a0973
The constructor ID as specified in the TL schema.
Source§impl PartialEq for DialogCommunity
impl PartialEq for DialogCommunity
Source§impl Serializable for DialogCommunity
impl Serializable for DialogCommunity
impl StructuralPartialEq for DialogCommunity
Auto Trait Implementations§
impl Freeze for DialogCommunity
impl RefUnwindSafe for DialogCommunity
impl Send for DialogCommunity
impl Sync for DialogCommunity
impl Unpin for DialogCommunity
impl UnsafeUnpin for DialogCommunity
impl UnwindSafe for DialogCommunity
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