Struct rust_tdlib::types::ChatInviteLinks
source · pub struct ChatInviteLinks { /* private fields */ }
Expand description
Contains a list of chat invite links
Implementations§
source§impl ChatInviteLinks
impl ChatInviteLinks
pub fn from_json<S: AsRef<str>>(json: S) -> Result<Self>
pub fn builder() -> ChatInviteLinksBuilder
pub fn total_count(&self) -> i32
pub fn invite_links(&self) -> &Vec<ChatInviteLink>
Trait Implementations§
source§impl AsRef<ChatInviteLinks> for ChatInviteLinks
impl AsRef<ChatInviteLinks> for ChatInviteLinks
source§fn as_ref(&self) -> &ChatInviteLinks
fn as_ref(&self) -> &ChatInviteLinks
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for ChatInviteLinks
impl Clone for ChatInviteLinks
source§fn clone(&self) -> ChatInviteLinks
fn clone(&self) -> ChatInviteLinks
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 ChatInviteLinks
impl Debug for ChatInviteLinks
source§impl Default for ChatInviteLinks
impl Default for ChatInviteLinks
source§fn default() -> ChatInviteLinks
fn default() -> ChatInviteLinks
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ChatInviteLinks
impl<'de> Deserialize<'de> for ChatInviteLinks
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