Struct rust_tdlib::types::ChatInviteLinks
source · [−]pub struct ChatInviteLinks { /* private fields */ }Expand description
Contains a list of chat invite links
Implementations
sourceimpl 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
sourceimpl AsRef<ChatInviteLinks> for ChatInviteLinks
impl AsRef<ChatInviteLinks> for ChatInviteLinks
sourcefn as_ref(&self) -> &ChatInviteLinks
fn as_ref(&self) -> &ChatInviteLinks
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for ChatInviteLinks
impl Clone for ChatInviteLinks
sourcefn clone(&self) -> ChatInviteLinks
fn clone(&self) -> ChatInviteLinks
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for ChatInviteLinks
impl Debug for ChatInviteLinks
sourceimpl Default for ChatInviteLinks
impl Default for ChatInviteLinks
sourcefn default() -> ChatInviteLinks
fn default() -> ChatInviteLinks
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ChatInviteLinks
impl<'de> Deserialize<'de> for ChatInviteLinks
sourcefn 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
sourceimpl Serialize for ChatInviteLinks
impl Serialize for ChatInviteLinks
Auto Trait Implementations
impl RefUnwindSafe for ChatInviteLinks
impl Send for ChatInviteLinks
impl Sync for ChatInviteLinks
impl Unpin for ChatInviteLinks
impl UnwindSafe for ChatInviteLinks
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more