Struct rust_tdlib::types::PushMessageContentMediaAlbum
source · pub struct PushMessageContentMediaAlbum { /* private fields */ }
Expand description
A media album
Implementations§
source§impl PushMessageContentMediaAlbum
impl PushMessageContentMediaAlbum
pub fn from_json<S: AsRef<str>>(json: S) -> Result<Self>
pub fn builder() -> PushMessageContentMediaAlbumBuilder
pub fn total_count(&self) -> i32
pub fn has_photos(&self) -> bool
pub fn has_videos(&self) -> bool
pub fn has_audios(&self) -> bool
pub fn has_documents(&self) -> bool
Trait Implementations§
source§impl AsRef<PushMessageContentMediaAlbum> for PushMessageContentMediaAlbum
impl AsRef<PushMessageContentMediaAlbum> for PushMessageContentMediaAlbum
source§fn as_ref(&self) -> &PushMessageContentMediaAlbum
fn as_ref(&self) -> &PushMessageContentMediaAlbum
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for PushMessageContentMediaAlbum
impl Clone for PushMessageContentMediaAlbum
source§fn clone(&self) -> PushMessageContentMediaAlbum
fn clone(&self) -> PushMessageContentMediaAlbum
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 PushMessageContentMediaAlbum
impl Debug for PushMessageContentMediaAlbum
source§impl Default for PushMessageContentMediaAlbum
impl Default for PushMessageContentMediaAlbum
source§fn default() -> PushMessageContentMediaAlbum
fn default() -> PushMessageContentMediaAlbum
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PushMessageContentMediaAlbum
impl<'de> Deserialize<'de> for PushMessageContentMediaAlbum
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