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