pub struct GroupCallDonor {
pub top: bool,
pub my: bool,
pub peer_id: Option<Peer>,
pub stars: i64,
}Expand description
Generated from:
groupCallDonor#ee430c85 flags:# top:flags.0?true my:flags.1?true peer_id:flags.3?Peer stars:long = GroupCallDonorFields§
§top: bool§my: bool§peer_id: Option<Peer>§stars: i64Trait Implementations§
Source§impl Clone for GroupCallDonor
impl Clone for GroupCallDonor
Source§fn clone(&self) -> GroupCallDonor
fn clone(&self) -> GroupCallDonor
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 GroupCallDonor
impl Debug for GroupCallDonor
Source§impl Deserializable for GroupCallDonor
impl Deserializable for GroupCallDonor
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<GroupCallDonor> for GroupCallDonor
impl From<GroupCallDonor> for GroupCallDonor
Source§fn from(x: GroupCallDonor) -> Self
fn from(x: GroupCallDonor) -> Self
Converts to this type from the input type.
Source§impl Identifiable for GroupCallDonor
impl Identifiable for GroupCallDonor
Source§const CONSTRUCTOR_ID: u32 = 0xee430c85
const CONSTRUCTOR_ID: u32 = 0xee430c85
The constructor ID as specified in the TL schema.
Source§impl PartialEq for GroupCallDonor
impl PartialEq for GroupCallDonor
Source§impl Serializable for GroupCallDonor
impl Serializable for GroupCallDonor
Source§impl TryFrom<GroupCallDonor> for GroupCallDonor
impl TryFrom<GroupCallDonor> for GroupCallDonor
Source§type Error = GroupCallDonor
type Error = GroupCallDonor
The type returned in the event of a conversion error.
impl StructuralPartialEq for GroupCallDonor
Auto Trait Implementations§
impl Freeze for GroupCallDonor
impl RefUnwindSafe for GroupCallDonor
impl Send for GroupCallDonor
impl Sync for GroupCallDonor
impl Unpin for GroupCallDonor
impl UnsafeUnpin for GroupCallDonor
impl UnwindSafe for GroupCallDonor
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