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§
source§impl CustomFace
impl CustomFace
sourcepub fn guid(&self) -> &[u8] ⓘ
pub fn guid(&self) -> &[u8] ⓘ
Returns the value of guid
, or the default value if guid
is unset.
sourcepub fn file_path(&self) -> &str
pub fn file_path(&self) -> &str
Returns the value of file_path
, or the default value if file_path
is unset.
sourcepub fn shortcut(&self) -> &str
pub fn shortcut(&self) -> &str
Returns the value of shortcut
, or the default value if shortcut
is unset.
sourcepub fn buffer(&self) -> &[u8] ⓘ
pub fn buffer(&self) -> &[u8] ⓘ
Returns the value of buffer
, or the default value if buffer
is unset.
sourcepub fn flag(&self) -> &[u8] ⓘ
pub fn flag(&self) -> &[u8] ⓘ
Returns the value of flag
, or the default value if flag
is unset.
sourcepub fn old_data(&self) -> &[u8] ⓘ
pub fn old_data(&self) -> &[u8] ⓘ
Returns the value of old_data
, or the default value if old_data
is unset.
sourcepub fn file_id(&self) -> i32
pub fn file_id(&self) -> i32
Returns the value of file_id
, or the default value if file_id
is unset.
sourcepub fn server_ip(&self) -> u32
pub fn server_ip(&self) -> u32
Returns the value of server_ip
, or the default value if server_ip
is unset.
sourcepub fn server_port(&self) -> u32
pub fn server_port(&self) -> u32
Returns the value of server_port
, or the default value if server_port
is unset.
sourcepub fn file_type(&self) -> i32
pub fn file_type(&self) -> i32
Returns the value of file_type
, or the default value if file_type
is unset.
sourcepub fn signature(&self) -> &[u8] ⓘ
pub fn signature(&self) -> &[u8] ⓘ
Returns the value of signature
, or the default value if signature
is unset.
sourcepub fn useful(&self) -> i32
pub fn useful(&self) -> i32
Returns the value of useful
, or the default value if useful
is unset.
sourcepub fn thumb_url(&self) -> &str
pub fn thumb_url(&self) -> &str
Returns the value of thumb_url
, or the default value if thumb_url
is unset.
sourcepub fn big_url(&self) -> &str
pub fn big_url(&self) -> &str
Returns the value of big_url
, or the default value if big_url
is unset.
sourcepub fn orig_url(&self) -> &str
pub fn orig_url(&self) -> &str
Returns the value of orig_url
, or the default value if orig_url
is unset.
sourcepub fn biz_type(&self) -> i32
pub fn biz_type(&self) -> i32
Returns the value of biz_type
, or the default value if biz_type
is unset.
sourcepub fn repeat_index(&self) -> i32
pub fn repeat_index(&self) -> i32
Returns the value of repeat_index
, or the default value if repeat_index
is unset.
sourcepub fn repeat_image(&self) -> i32
pub fn repeat_image(&self) -> i32
Returns the value of repeat_image
, or the default value if repeat_image
is unset.
sourcepub fn image_type(&self) -> i32
pub fn image_type(&self) -> i32
Returns the value of image_type
, or the default value if image_type
is unset.
sourcepub fn height(&self) -> u32
pub fn height(&self) -> u32
Returns the value of height
, or the default value if height
is unset.
sourcepub fn source(&self) -> i32
pub fn source(&self) -> i32
Returns the value of source
, or the default value if source
is unset.
sourcepub fn origin(&self) -> i32
pub fn origin(&self) -> i32
Returns the value of origin
, or the default value if origin
is unset.
sourcepub fn thumb_width(&self) -> i32
pub fn thumb_width(&self) -> i32
Returns the value of thumb_width
, or the default value if thumb_width
is unset.
sourcepub fn thumb_height(&self) -> i32
pub fn thumb_height(&self) -> i32
Returns the value of thumb_height
, or the default value if thumb_height
is unset.
sourcepub fn show_len(&self) -> i32
pub fn show_len(&self) -> i32
Returns the value of show_len
, or the default value if show_len
is unset.
sourcepub fn download_len(&self) -> i32
pub fn download_len(&self) -> i32
Returns the value of download_len
, or the default value if download_len
is unset.
sourcepub fn x400_url(&self) -> &str
pub fn x400_url(&self) -> &str
Returns the value of x400_url
, or the default value if x400_url
is unset.
sourcepub fn x400_width(&self) -> i32
pub fn x400_width(&self) -> i32
Returns the value of x400_width
, or the default value if x400_width
is unset.
sourcepub fn x400_height(&self) -> i32
pub fn x400_height(&self) -> i32
Returns the value of x400_height
, or the default value if x400_height
is unset.
sourcepub fn pb_reserve(&self) -> &[u8] ⓘ
pub fn pb_reserve(&self) -> &[u8] ⓘ
Returns the value of pb_reserve
, or the default value if pb_reserve
is unset.
Trait Implementations§
source§impl Clone for CustomFace
impl Clone for CustomFace
source§fn clone(&self) -> CustomFace
fn clone(&self) -> CustomFace
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CustomFace
impl Debug for CustomFace
source§impl Default for CustomFace
impl Default for CustomFace
source§impl From<CustomFace> for GroupImage
impl From<CustomFace> for GroupImage
source§fn from(custom_face: CustomFace) -> Self
fn from(custom_face: CustomFace) -> Self
source§impl From<GroupImage> for CustomFace
impl From<GroupImage> for CustomFace
source§fn from(e: GroupImage) -> Self
fn from(e: GroupImage) -> Self
source§impl Message for CustomFace
impl Message for CustomFace
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8, Global>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8, Global>where
Self: Sized,
source§fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8, Global>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8, Global>where
Self: Sized,
source§fn decode<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
fn decode<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
self
. Read moresource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
self
. Read more