Struct telexide::api::types::EditChatInviteLink[][src]

pub struct EditChatInviteLink {
    pub chat_id: i64,
    pub invite_link: String,
    pub expire_date: Option<i64>,
    pub member_limit: Option<i32>,
}

struct for holding data needed to call edit_chat_invite_link

Fields

chat_id: i64

Unique identifier for the target chat

invite_link: String

The invite link to edit

expire_date: Option<i64>

Point in time (Unix timestamp) when the link will expire

member_limit: Option<i32>

Maximum number of users that can be members of the chat simultaneously after joining the chat via this invite link; 1-99999

Trait Implementations

impl Clone for EditChatInviteLink[src]

impl Debug for EditChatInviteLink[src]

impl<'de> Deserialize<'de> for EditChatInviteLink[src]

impl PartialEq<EditChatInviteLink> for EditChatInviteLink[src]

impl Serialize for EditChatInviteLink[src]

impl StructuralPartialEq for EditChatInviteLink[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> CloneAny for T where
    T: Any + Clone
[src]

impl<T> DebugAny for T where
    T: Any + Debug
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> UnsafeAny for T where
    T: Any