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
Auto Trait Implementations§
impl Freeze for ChatInviteLinks
impl RefUnwindSafe for ChatInviteLinks
impl Send for ChatInviteLinks
impl Sync for ChatInviteLinks
impl Unpin for ChatInviteLinks
impl UnwindSafe for ChatInviteLinks
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