Struct ricq_core::pb::msg::CsHead

source ·
pub struct CsHead {
Show 24 fields pub uin: Option<u64>, pub command: Option<u32>, pub seq: Option<u32>, pub version: Option<u32>, pub retry_times: Option<u32>, pub client_type: Option<u32>, pub pubno: Option<u32>, pub localid: Option<u32>, pub timezone: Option<u32>, pub client_ip: Option<u32>, pub client_port: Option<u32>, pub conn_ip: Option<u32>, pub conn_port: Option<u32>, pub interface_ip: Option<u32>, pub interface_port: Option<u32>, pub actual_ip: Option<u32>, pub flag: Option<u32>, pub timestamp: Option<u32>, pub subcmd: Option<u32>, pub result: Option<u32>, pub app_id: Option<u32>, pub instance_id: Option<u32>, pub session_id: Option<u64>, pub idc_id: Option<u32>,
}

Fields§

§uin: Option<u64>§command: Option<u32>§seq: Option<u32>§version: Option<u32>§retry_times: Option<u32>§client_type: Option<u32>§pubno: Option<u32>§localid: Option<u32>§timezone: Option<u32>§client_ip: Option<u32>§client_port: Option<u32>§conn_ip: Option<u32>§conn_port: Option<u32>§interface_ip: Option<u32>§interface_port: Option<u32>§actual_ip: Option<u32>§flag: Option<u32>§timestamp: Option<u32>§subcmd: Option<u32>§result: Option<u32>§app_id: Option<u32>§instance_id: Option<u32>§session_id: Option<u64>§idc_id: Option<u32>

Implementations§

Returns the value of uin, or the default value if uin is unset.

Returns the value of command, or the default value if command is unset.

Returns the value of seq, or the default value if seq is unset.

Returns the value of version, or the default value if version is unset.

Returns the value of retry_times, or the default value if retry_times is unset.

Returns the value of client_type, or the default value if client_type is unset.

Returns the value of pubno, or the default value if pubno is unset.

Returns the value of localid, or the default value if localid is unset.

Returns the value of timezone, or the default value if timezone is unset.

Returns the value of client_ip, or the default value if client_ip is unset.

Returns the value of client_port, or the default value if client_port is unset.

Returns the value of conn_ip, or the default value if conn_ip is unset.

Returns the value of conn_port, or the default value if conn_port is unset.

Returns the value of interface_ip, or the default value if interface_ip is unset.

Returns the value of interface_port, or the default value if interface_port is unset.

Returns the value of actual_ip, or the default value if actual_ip is unset.

Returns the value of flag, or the default value if flag is unset.

Returns the value of timestamp, or the default value if timestamp is unset.

Returns the value of subcmd, or the default value if subcmd is unset.

Returns the value of result, or the default value if result is unset.

Returns the value of app_id, or the default value if app_id is unset.

Returns the value of instance_id, or the default value if instance_id is unset.

Returns the value of session_id, or the default value if session_id is unset.

Returns the value of idc_id, or the default value if idc_id is unset.

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
Returns the encoded length of the message without a length delimiter.
Clears the message, resetting all fields to their default.
Encodes the message to a buffer. Read more
Encodes the message to a newly allocated buffer.
Encodes the message with a length-delimiter to a buffer. Read more
Encodes the message with a length-delimiter to a newly allocated buffer.
Decodes an instance of the message from a buffer. Read more
Decodes a length-delimited instance of the message from the buffer.
Decodes an instance of the message from a buffer, and merges it into self. Read more
Decodes a length-delimited instance of the message from buffer, and merges it into self. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.