Struct ricq_core::pb::msg::NotOnlineFile

source ·
pub struct NotOnlineFile {
Show 19 fields pub file_type: Option<i32>, pub sig: Option<Vec<u8>>, pub file_uuid: Option<Vec<u8>>, pub file_md5: Option<Vec<u8>>, pub file_name: Option<Vec<u8>>, pub file_size: Option<i64>, pub note: Option<Vec<u8>>, pub reserved: Option<i32>, pub subcmd: Option<i32>, pub micro_cloud: Option<i32>, pub bytes_file_urls: Vec<Vec<u8>>, pub download_flag: Option<i32>, pub danger_evel: Option<i32>, pub life_time: Option<i32>, pub upload_time: Option<i32>, pub abs_file_type: Option<i32>, pub client_type: Option<i32>, pub expire_time: Option<i32>, pub pb_reserve: Option<Vec<u8>>,
}

Fields§

§file_type: Option<i32>§sig: Option<Vec<u8>>§file_uuid: Option<Vec<u8>>§file_md5: Option<Vec<u8>>§file_name: Option<Vec<u8>>§file_size: Option<i64>§note: Option<Vec<u8>>§reserved: Option<i32>§subcmd: Option<i32>§micro_cloud: Option<i32>§bytes_file_urls: Vec<Vec<u8>>§download_flag: Option<i32>§danger_evel: Option<i32>§life_time: Option<i32>§upload_time: Option<i32>§abs_file_type: Option<i32>§client_type: Option<i32>§expire_time: Option<i32>§pb_reserve: Option<Vec<u8>>

Implementations§

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Returns the value of pb_reserve, or the default value if pb_reserve 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.