pub struct RpcAnswerDropped {
pub msg_id: i64,
pub seq_no: i32,
pub bytes: i32,
}Expand description
Generated from:
rpc_answer_dropped#a43ad8b7 msg_id:long seq_no:int bytes:int = RpcDropAnswerFields§
§msg_id: i64§seq_no: i32§bytes: i32Trait Implementations§
Source§impl Clone for RpcAnswerDropped
impl Clone for RpcAnswerDropped
Source§fn clone(&self) -> RpcAnswerDropped
fn clone(&self) -> RpcAnswerDropped
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 RpcAnswerDropped
impl Debug for RpcAnswerDropped
Source§impl Deserializable for RpcAnswerDropped
impl Deserializable for RpcAnswerDropped
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<RpcAnswerDropped> for RpcDropAnswer
impl From<RpcAnswerDropped> for RpcDropAnswer
Source§fn from(x: RpcAnswerDropped) -> Self
fn from(x: RpcAnswerDropped) -> Self
Converts to this type from the input type.
Source§impl Identifiable for RpcAnswerDropped
impl Identifiable for RpcAnswerDropped
Source§const CONSTRUCTOR_ID: u32 = 0xa43ad8b7
const CONSTRUCTOR_ID: u32 = 0xa43ad8b7
The constructor ID as specified in the TL schema.
Source§impl PartialEq for RpcAnswerDropped
impl PartialEq for RpcAnswerDropped
Source§impl Serializable for RpcAnswerDropped
impl Serializable for RpcAnswerDropped
Source§impl TryFrom<RpcDropAnswer> for RpcAnswerDropped
impl TryFrom<RpcDropAnswer> for RpcAnswerDropped
Source§type Error = RpcDropAnswer
type Error = RpcDropAnswer
The type returned in the event of a conversion error.
impl StructuralPartialEq for RpcAnswerDropped
Auto Trait Implementations§
impl Freeze for RpcAnswerDropped
impl RefUnwindSafe for RpcAnswerDropped
impl Send for RpcAnswerDropped
impl Sync for RpcAnswerDropped
impl Unpin for RpcAnswerDropped
impl UnsafeUnpin for RpcAnswerDropped
impl UnwindSafe for RpcAnswerDropped
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