Struct ricq_core::pb::msg::NotOnlineImage
source · pub struct NotOnlineImage {Show 26 fields
pub file_path: Option<String>,
pub file_len: Option<u32>,
pub download_path: Option<String>,
pub old_ver_send_file: Option<Vec<u8>>,
pub img_type: Option<i32>,
pub previews_image: Option<Vec<u8>>,
pub pic_md5: Option<Vec<u8>>,
pub pic_height: Option<u32>,
pub pic_width: Option<u32>,
pub res_id: Option<String>,
pub flag: Option<Vec<u8>>,
pub thumb_url: Option<String>,
pub original: Option<i32>,
pub big_url: Option<String>,
pub orig_url: Option<String>,
pub biz_type: Option<i32>,
pub result: Option<i32>,
pub index: Option<i32>,
pub op_face_buf: Option<Vec<u8>>,
pub old_pic_md5: Option<bool>,
pub thumb_width: Option<i32>,
pub thumb_height: Option<i32>,
pub file_id: Option<i32>,
pub show_len: Option<i32>,
pub download_len: Option<i32>,
pub pb_reserve: Option<Vec<u8>>,
}
Fields§
§file_path: Option<String>
§file_len: Option<u32>
§download_path: Option<String>
§old_ver_send_file: Option<Vec<u8>>
§img_type: Option<i32>
§previews_image: Option<Vec<u8>>
§pic_md5: Option<Vec<u8>>
§pic_height: Option<u32>
§pic_width: Option<u32>
§res_id: Option<String>
§flag: Option<Vec<u8>>
§thumb_url: Option<String>
§original: Option<i32>
§big_url: Option<String>
§orig_url: Option<String>
§biz_type: Option<i32>
§result: Option<i32>
§index: Option<i32>
§op_face_buf: Option<Vec<u8>>
§old_pic_md5: Option<bool>
§thumb_width: Option<i32>
§thumb_height: Option<i32>
§file_id: Option<i32>
§show_len: Option<i32>
§download_len: Option<i32>
§pb_reserve: Option<Vec<u8>>
Implementations§
source§impl NotOnlineImage
impl NotOnlineImage
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 file_len(&self) -> u32
pub fn file_len(&self) -> u32
Returns the value of file_len
, or the default value if file_len
is unset.
sourcepub fn download_path(&self) -> &str
pub fn download_path(&self) -> &str
Returns the value of download_path
, or the default value if download_path
is unset.
sourcepub fn old_ver_send_file(&self) -> &[u8] ⓘ
pub fn old_ver_send_file(&self) -> &[u8] ⓘ
Returns the value of old_ver_send_file
, or the default value if old_ver_send_file
is unset.
sourcepub fn img_type(&self) -> i32
pub fn img_type(&self) -> i32
Returns the value of img_type
, or the default value if img_type
is unset.
sourcepub fn previews_image(&self) -> &[u8] ⓘ
pub fn previews_image(&self) -> &[u8] ⓘ
Returns the value of previews_image
, or the default value if previews_image
is unset.
sourcepub fn pic_md5(&self) -> &[u8] ⓘ
pub fn pic_md5(&self) -> &[u8] ⓘ
Returns the value of pic_md5
, or the default value if pic_md5
is unset.
sourcepub fn pic_height(&self) -> u32
pub fn pic_height(&self) -> u32
Returns the value of pic_height
, or the default value if pic_height
is unset.
sourcepub fn pic_width(&self) -> u32
pub fn pic_width(&self) -> u32
Returns the value of pic_width
, or the default value if pic_width
is unset.
sourcepub fn res_id(&self) -> &str
pub fn res_id(&self) -> &str
Returns the value of res_id
, or the default value if res_id
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 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 original(&self) -> i32
pub fn original(&self) -> i32
Returns the value of original
, or the default value if original
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 result(&self) -> i32
pub fn result(&self) -> i32
Returns the value of result
, or the default value if result
is unset.
sourcepub fn op_face_buf(&self) -> &[u8] ⓘ
pub fn op_face_buf(&self) -> &[u8] ⓘ
Returns the value of op_face_buf
, or the default value if op_face_buf
is unset.
sourcepub fn old_pic_md5(&self) -> bool
pub fn old_pic_md5(&self) -> bool
Returns the value of old_pic_md5
, or the default value if old_pic_md5
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 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 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 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 NotOnlineImage
impl Clone for NotOnlineImage
source§fn clone(&self) -> NotOnlineImage
fn clone(&self) -> NotOnlineImage
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for NotOnlineImage
impl Debug for NotOnlineImage
source§impl Default for NotOnlineImage
impl Default for NotOnlineImage
source§impl From<FriendImage> for NotOnlineImage
impl From<FriendImage> for NotOnlineImage
source§fn from(e: FriendImage) -> Self
fn from(e: FriendImage) -> Self
source§impl From<NotOnlineImage> for FriendImage
impl From<NotOnlineImage> for FriendImage
source§fn from(e: NotOnlineImage) -> Self
fn from(e: NotOnlineImage) -> Self
source§impl Message for NotOnlineImage
impl Message for NotOnlineImage
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