pub struct MessagePeerVote {
pub peer: Peer,
pub option: Vec<u8>,
pub date: i32,
}Expand description
Generated from:
messagePeerVote#b6cc2d5c peer:Peer option:bytes date:int = MessagePeerVoteFields§
§peer: Peer§option: Vec<u8>§date: i32Trait Implementations§
Source§impl Clone for MessagePeerVote
impl Clone for MessagePeerVote
Source§fn clone(&self) -> MessagePeerVote
fn clone(&self) -> MessagePeerVote
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 MessagePeerVote
impl Debug for MessagePeerVote
Source§impl Deserializable for MessagePeerVote
impl Deserializable for MessagePeerVote
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<MessagePeerVote> for MessagePeerVote
impl From<MessagePeerVote> for MessagePeerVote
Source§fn from(x: MessagePeerVote) -> Self
fn from(x: MessagePeerVote) -> Self
Converts to this type from the input type.
Source§impl Identifiable for MessagePeerVote
impl Identifiable for MessagePeerVote
Source§const CONSTRUCTOR_ID: u32 = 0xb6cc2d5c
const CONSTRUCTOR_ID: u32 = 0xb6cc2d5c
The constructor ID as specified in the TL schema.
Source§impl PartialEq for MessagePeerVote
impl PartialEq for MessagePeerVote
Source§impl Serializable for MessagePeerVote
impl Serializable for MessagePeerVote
Source§impl TryFrom<MessagePeerVote> for MessagePeerVote
impl TryFrom<MessagePeerVote> for MessagePeerVote
Source§type Error = MessagePeerVote
type Error = MessagePeerVote
The type returned in the event of a conversion error.
impl StructuralPartialEq for MessagePeerVote
Auto Trait Implementations§
impl Freeze for MessagePeerVote
impl RefUnwindSafe for MessagePeerVote
impl Send for MessagePeerVote
impl Sync for MessagePeerVote
impl Unpin for MessagePeerVote
impl UnsafeUnpin for MessagePeerVote
impl UnwindSafe for MessagePeerVote
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