pub struct VideoFile {Show 24 fields
pub file_uuid: Option<Vec<u8>>,
pub file_md5: Option<Vec<u8>>,
pub file_name: Option<String>,
pub file_format: Option<i32>,
pub file_time: Option<i32>,
pub file_size: Option<i32>,
pub thumb_width: Option<i32>,
pub thumb_height: Option<i32>,
pub thumb_file_md5: Option<Vec<u8>>,
pub source: Option<Vec<u8>>,
pub thumb_file_size: Option<i32>,
pub busi_type: Option<i32>,
pub from_chat_type: Option<i32>,
pub to_chat_type: Option<i32>,
pub bool_support_progressive: Option<bool>,
pub file_width: Option<i32>,
pub file_height: Option<i32>,
pub sub_busi_type: Option<i32>,
pub video_attr: Option<i32>,
pub bytes_thumb_file_urls: Vec<Vec<u8>>,
pub bytes_video_file_urls: Vec<Vec<u8>>,
pub thumb_download_flag: Option<i32>,
pub video_download_flag: Option<i32>,
pub pb_reserve: Option<Vec<u8>>,
}
Fields§
§file_uuid: Option<Vec<u8>>
§file_md5: Option<Vec<u8>>
§file_name: Option<String>
§file_format: Option<i32>
§file_time: Option<i32>
§file_size: Option<i32>
§thumb_width: Option<i32>
§thumb_height: Option<i32>
§thumb_file_md5: Option<Vec<u8>>
§source: Option<Vec<u8>>
§thumb_file_size: Option<i32>
§busi_type: Option<i32>
§from_chat_type: Option<i32>
§to_chat_type: Option<i32>
§bool_support_progressive: Option<bool>
§file_width: Option<i32>
§file_height: Option<i32>
§sub_busi_type: Option<i32>
§video_attr: Option<i32>
§bytes_thumb_file_urls: Vec<Vec<u8>>
§bytes_video_file_urls: Vec<Vec<u8>>
§thumb_download_flag: Option<i32>
§video_download_flag: Option<i32>
§pb_reserve: Option<Vec<u8>>
Implementations§
source§impl VideoFile
impl VideoFile
sourcepub fn file_uuid(&self) -> &[u8] ⓘ
pub fn file_uuid(&self) -> &[u8] ⓘ
Returns the value of file_uuid
, or the default value if file_uuid
is unset.
sourcepub fn file_md5(&self) -> &[u8] ⓘ
pub fn file_md5(&self) -> &[u8] ⓘ
Returns the value of file_md5
, or the default value if file_md5
is unset.
sourcepub fn file_name(&self) -> &str
pub fn file_name(&self) -> &str
Returns the value of file_name
, or the default value if file_name
is unset.
sourcepub fn file_format(&self) -> i32
pub fn file_format(&self) -> i32
Returns the value of file_format
, or the default value if file_format
is unset.
sourcepub fn file_time(&self) -> i32
pub fn file_time(&self) -> i32
Returns the value of file_time
, or the default value if file_time
is unset.
sourcepub fn file_size(&self) -> i32
pub fn file_size(&self) -> i32
Returns the value of file_size
, or the default value if file_size
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 thumb_file_md5(&self) -> &[u8] ⓘ
pub fn thumb_file_md5(&self) -> &[u8] ⓘ
Returns the value of thumb_file_md5
, or the default value if thumb_file_md5
is unset.
sourcepub fn source(&self) -> &[u8] ⓘ
pub fn source(&self) -> &[u8] ⓘ
Returns the value of source
, or the default value if source
is unset.
sourcepub fn thumb_file_size(&self) -> i32
pub fn thumb_file_size(&self) -> i32
Returns the value of thumb_file_size
, or the default value if thumb_file_size
is unset.
sourcepub fn busi_type(&self) -> i32
pub fn busi_type(&self) -> i32
Returns the value of busi_type
, or the default value if busi_type
is unset.
sourcepub fn from_chat_type(&self) -> i32
pub fn from_chat_type(&self) -> i32
Returns the value of from_chat_type
, or the default value if from_chat_type
is unset.
sourcepub fn to_chat_type(&self) -> i32
pub fn to_chat_type(&self) -> i32
Returns the value of to_chat_type
, or the default value if to_chat_type
is unset.
sourcepub fn bool_support_progressive(&self) -> bool
pub fn bool_support_progressive(&self) -> bool
Returns the value of bool_support_progressive
, or the default value if bool_support_progressive
is unset.
sourcepub fn file_width(&self) -> i32
pub fn file_width(&self) -> i32
Returns the value of file_width
, or the default value if file_width
is unset.
sourcepub fn file_height(&self) -> i32
pub fn file_height(&self) -> i32
Returns the value of file_height
, or the default value if file_height
is unset.
sourcepub fn sub_busi_type(&self) -> i32
pub fn sub_busi_type(&self) -> i32
Returns the value of sub_busi_type
, or the default value if sub_busi_type
is unset.
sourcepub fn video_attr(&self) -> i32
pub fn video_attr(&self) -> i32
Returns the value of video_attr
, or the default value if video_attr
is unset.
sourcepub fn thumb_download_flag(&self) -> i32
pub fn thumb_download_flag(&self) -> i32
Returns the value of thumb_download_flag
, or the default value if thumb_download_flag
is unset.
sourcepub fn video_download_flag(&self) -> i32
pub fn video_download_flag(&self) -> i32
Returns the value of video_download_flag
, or the default value if video_download_flag
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 Message for VideoFile
impl Message for VideoFile
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