Struct rust_tdlib::types::OpenMessageContent
source · pub struct OpenMessageContent { /* private fields */ }
Expand description
Informs TDLib that the message content has been opened (e.g., the user has opened a photo, video, document, location or venue, or has listened to an audio file or voice note message). An updateMessageContentOpened update will be generated if something has changed
Implementations§
Trait Implementations§
source§impl AsRef<OpenMessageContent> for OpenMessageContent
impl AsRef<OpenMessageContent> for OpenMessageContent
source§fn as_ref(&self) -> &OpenMessageContent
fn as_ref(&self) -> &OpenMessageContent
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for OpenMessageContent
impl Clone for OpenMessageContent
source§fn clone(&self) -> OpenMessageContent
fn clone(&self) -> OpenMessageContent
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 OpenMessageContent
impl Debug for OpenMessageContent
source§impl Default for OpenMessageContent
impl Default for OpenMessageContent
source§fn default() -> OpenMessageContent
fn default() -> OpenMessageContent
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for OpenMessageContent
impl<'de> Deserialize<'de> for OpenMessageContent
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