pub struct TextEntityTypeMediaTimestamp {
pub media_timestamp: i32,
}
Expand description
A media timestamp
Fields§
§media_timestamp: i32
Timestamp from which a video/audio/video note/voice note/story playing must start, in seconds. The media can be in the content or the web page preview of the current message, or in the same places in the replied message
Trait Implementations§
Source§impl Clone for TextEntityTypeMediaTimestamp
impl Clone for TextEntityTypeMediaTimestamp
Source§fn clone(&self) -> TextEntityTypeMediaTimestamp
fn clone(&self) -> TextEntityTypeMediaTimestamp
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 TextEntityTypeMediaTimestamp
impl Debug for TextEntityTypeMediaTimestamp
Source§impl Default for TextEntityTypeMediaTimestamp
impl Default for TextEntityTypeMediaTimestamp
Source§fn default() -> TextEntityTypeMediaTimestamp
fn default() -> TextEntityTypeMediaTimestamp
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TextEntityTypeMediaTimestamp
impl<'de> Deserialize<'de> for TextEntityTypeMediaTimestamp
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 TextEntityTypeMediaTimestamp
impl PartialEq for TextEntityTypeMediaTimestamp
Source§fn eq(&self, other: &TextEntityTypeMediaTimestamp) -> bool
fn eq(&self, other: &TextEntityTypeMediaTimestamp) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for TextEntityTypeMediaTimestamp
Auto Trait Implementations§
impl Freeze for TextEntityTypeMediaTimestamp
impl RefUnwindSafe for TextEntityTypeMediaTimestamp
impl Send for TextEntityTypeMediaTimestamp
impl Sync for TextEntityTypeMediaTimestamp
impl Unpin for TextEntityTypeMediaTimestamp
impl UnwindSafe for TextEntityTypeMediaTimestamp
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