pub struct MessageVideoNote {
pub video_note: VideoNote,
pub is_viewed: bool,
pub is_secret: bool,
}Expand description
A video note message
Fields§
§video_note: VideoNoteThe video note description
is_viewed: boolTrue, if at least one of the recipients has viewed the video note
is_secret: boolTrue, if the video note thumbnail must be blurred and the video note must be shown only while tapped
Trait Implementations§
Source§impl Clone for MessageVideoNote
impl Clone for MessageVideoNote
Source§fn clone(&self) -> MessageVideoNote
fn clone(&self) -> MessageVideoNote
Returns a copy 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 MessageVideoNote
impl Debug for MessageVideoNote
Source§impl<'de> Deserialize<'de> for MessageVideoNote
impl<'de> Deserialize<'de> for MessageVideoNote
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
Source§impl PartialEq for MessageVideoNote
impl PartialEq for MessageVideoNote
Source§impl Serialize for MessageVideoNote
impl Serialize for MessageVideoNote
impl StructuralPartialEq for MessageVideoNote
Auto Trait Implementations§
impl Freeze for MessageVideoNote
impl RefUnwindSafe for MessageVideoNote
impl Send for MessageVideoNote
impl Sync for MessageVideoNote
impl Unpin for MessageVideoNote
impl UnwindSafe for MessageVideoNote
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