Enum clacks_mtproto::mtproto::RpcDropAnswer
[−]
[src]
pub enum RpcDropAnswer { Unknown, DroppedRunning, Dropped(Dropped), }
TL-derived from RpcDropAnswer
rpc_answer_unknown#5e2ad36e = RpcDropAnswer;
rpc_answer_dropped_running#cd78e586 = RpcDropAnswer;
rpc_answer_dropped#a43ad8b7 msg_id:long seq_no:int bytes:int = RpcDropAnswer;
Variants
Unknown
DroppedRunning
Dropped(Dropped)
Methods
impl RpcDropAnswer
[src]
pub fn bytes(&self) -> Option<&int>
[src]
pub fn msg_id(&self) -> Option<&long>
[src]
pub fn seq_no(&self) -> Option<&int>
[src]
Trait Implementations
impl Debug for RpcDropAnswer
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for RpcDropAnswer
[src]
fn clone(&self) -> RpcDropAnswer
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl BoxedSerialize for RpcDropAnswer
[src]
fn serialize_boxed<'this>(
&'this self
) -> (ConstructorNumber, &'this BareSerialize)
[src]
&'this self
) -> (ConstructorNumber, &'this BareSerialize)
fn boxed_serialized_bytes(&self) -> Result<Vec<u8>>
[src]
impl BoxedDeserialize for RpcDropAnswer
[src]
fn possible_constructors() -> Vec<ConstructorNumber>
[src]
fn deserialize_boxed(
_id: ConstructorNumber,
_de: &mut Deserializer
) -> Result<Self>
[src]
_id: ConstructorNumber,
_de: &mut Deserializer
) -> Result<Self>