Struct telexide::api::types::CreateChatInviteLink [−][src]
pub struct CreateChatInviteLink { pub chat_id: i64, pub expire_date: Option<i64>, pub member_limit: Option<i32>, }
struct for holding data needed to call create_chat_invite_link
Fields
chat_id: i64
Unique identifier for the target chat
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 CreateChatInviteLink
[src]
impl Clone for CreateChatInviteLink
[src]fn clone(&self) -> CreateChatInviteLink
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'de> Deserialize<'de> for CreateChatInviteLink
[src]
impl<'de> Deserialize<'de> for CreateChatInviteLink
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<CreateChatInviteLink> for CreateChatInviteLink
[src]
impl PartialEq<CreateChatInviteLink> for CreateChatInviteLink
[src]fn eq(&self, other: &CreateChatInviteLink) -> bool
[src]
fn ne(&self, other: &CreateChatInviteLink) -> bool
[src]
impl Serialize for CreateChatInviteLink
[src]
impl Serialize for CreateChatInviteLink
[src]Auto Trait Implementations
impl RefUnwindSafe for CreateChatInviteLink
impl RefUnwindSafe for CreateChatInviteLink
impl Send for CreateChatInviteLink
impl Send for CreateChatInviteLink
impl Sync for CreateChatInviteLink
impl Sync for CreateChatInviteLink
impl Unpin for CreateChatInviteLink
impl Unpin for CreateChatInviteLink
impl UnwindSafe for CreateChatInviteLink
impl UnwindSafe for CreateChatInviteLink
Blanket Implementations
impl<T> CloneAny for T where
T: Any + Clone,
[src]
impl<T> CloneAny for T where
T: Any + Clone,
[src]pub fn clone_any(&self) -> Box<dyn CloneAny + 'static, Global>
[src]
pub fn clone_any_send(&self) -> Box<dyn CloneAny + 'static + Send, Global> where
T: Send,
[src]
T: Send,
pub fn clone_any_sync(&self) -> Box<dyn CloneAny + 'static + Sync, Global> where
T: Sync,
[src]
T: Sync,
pub fn clone_any_send_sync(
&self
) -> Box<dyn CloneAny + 'static + Send + Sync, Global> where
T: Send + Sync,
[src]
&self
) -> Box<dyn CloneAny + 'static + Send + Sync, Global> where
T: Send + Sync,
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> UnsafeAny for T where
T: Any,
impl<T> UnsafeAny for T where
T: Any,