Struct ricq_core::pb::msg::MarketFace

source ·
pub struct MarketFace {
Show 13 fields pub face_name: Option<Vec<u8>>, pub item_type: Option<u32>, pub face_info: Option<u32>, pub face_id: Option<Vec<u8>>, pub tab_id: Option<u32>, pub sub_type: Option<u32>, pub key: Option<Vec<u8>>, pub param: Option<Vec<u8>>, pub media_type: Option<u32>, pub image_width: Option<u32>, pub image_height: Option<u32>, pub mobileparam: Option<Vec<u8>>, pub pb_reserve: Option<Vec<u8>>,
}

Fields§

§face_name: Option<Vec<u8>>§item_type: Option<u32>§face_info: Option<u32>§face_id: Option<Vec<u8>>§tab_id: Option<u32>§sub_type: Option<u32>§key: Option<Vec<u8>>§param: Option<Vec<u8>>§media_type: Option<u32>§image_width: Option<u32>§image_height: Option<u32>§mobileparam: Option<Vec<u8>>§pb_reserve: Option<Vec<u8>>

Implementations§

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

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

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

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

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

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

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

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

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

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

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

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