Struct ricq_core::pb::msg::CustomFace

source ·
pub struct CustomFace {
Show 34 fields pub guid: Option<Vec<u8>>, pub file_path: Option<String>, pub shortcut: Option<String>, pub buffer: Option<Vec<u8>>, pub flag: Option<Vec<u8>>, pub old_data: Option<Vec<u8>>, pub file_id: Option<i32>, pub server_ip: Option<u32>, pub server_port: Option<u32>, pub file_type: Option<i32>, pub signature: Option<Vec<u8>>, pub useful: Option<i32>, pub md5: Option<Vec<u8>>, pub thumb_url: Option<String>, pub big_url: Option<String>, pub orig_url: Option<String>, pub biz_type: Option<i32>, pub repeat_index: Option<i32>, pub repeat_image: Option<i32>, pub image_type: Option<i32>, pub index: Option<i32>, pub width: Option<u32>, pub height: Option<u32>, pub source: Option<i32>, pub size: Option<u32>, pub origin: Option<i32>, pub thumb_width: Option<i32>, pub thumb_height: Option<i32>, pub show_len: Option<i32>, pub download_len: Option<i32>, pub x400_url: Option<String>, pub x400_width: Option<i32>, pub x400_height: Option<i32>, pub pb_reserve: Option<Vec<u8>>,
}

Fields§

§guid: Option<Vec<u8>>§file_path: Option<String>§shortcut: Option<String>§buffer: Option<Vec<u8>>§flag: Option<Vec<u8>>§old_data: Option<Vec<u8>>§file_id: Option<i32>§server_ip: Option<u32>§server_port: Option<u32>§file_type: Option<i32>§signature: Option<Vec<u8>>§useful: Option<i32>§md5: Option<Vec<u8>>§thumb_url: Option<String>§big_url: Option<String>§orig_url: Option<String>§biz_type: Option<i32>§repeat_index: Option<i32>§repeat_image: Option<i32>§image_type: Option<i32>§index: Option<i32>§width: Option<u32>§height: Option<u32>§source: Option<i32>§size: Option<u32>§origin: Option<i32>§thumb_width: Option<i32>§thumb_height: Option<i32>§show_len: Option<i32>§download_len: Option<i32>§x400_url: Option<String>

x

§x400_width: Option<i32>

x

§x400_height: Option<i32>

x

§pb_reserve: Option<Vec<u8>>

Implementations§

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Returns the value of x400_height, or the default value if x400_height 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
Converts to this type from the input type.
Converts to this type from the input type.
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.