pub struct VideoContent {
pub download_code: Option<String>,
pub duration: Option<i64>,
pub video_type: Option<String>,
}Expand description
视频消息内容(仅单聊场景下机器人可接收)
Fields§
§download_code: Option<String>视频文件下载码
duration: Option<i64>视频时长(毫秒)
video_type: Option<String>视频类型
Trait Implementations§
Source§impl Clone for VideoContent
impl Clone for VideoContent
Source§fn clone(&self) -> VideoContent
fn clone(&self) -> VideoContent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VideoContent
impl Debug for VideoContent
Source§impl Default for VideoContent
impl Default for VideoContent
Source§fn default() -> VideoContent
fn default() -> VideoContent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VideoContent
impl<'de> Deserialize<'de> for VideoContent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for VideoContent
impl RefUnwindSafe for VideoContent
impl Send for VideoContent
impl Sync for VideoContent
impl Unpin for VideoContent
impl UnsafeUnpin for VideoContent
impl UnwindSafe for VideoContent
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more