Struct telexide::model::ChatInviteLink [−][src]
pub struct ChatInviteLink { pub invite_link: String, pub creator: User, pub is_primary: bool, pub is_revoked: bool, pub expire_date: Option<DateTime<Utc>>, pub member_limit: Option<i32>, }
Represents an invite link for a chat.
Fields
invite_link: String
The invite link. If the link was created by another chat administrator, then the second part of the link will be replaced with “…”.
creator: User
Creator of the link
is_primary: bool
If the link is primary
is_revoked: bool
If the link is revoked
expire_date: Option<DateTime<Utc>>
When the link will expire or has been expired
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 ChatInviteLink
[src]
impl Clone for ChatInviteLink
[src]fn clone(&self) -> ChatInviteLink
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'de> Deserialize<'de> for ChatInviteLink
[src]
impl<'de> Deserialize<'de> for ChatInviteLink
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<ChatInviteLink> for ChatInviteLink
[src]
impl PartialEq<ChatInviteLink> for ChatInviteLink
[src]fn eq(&self, other: &ChatInviteLink) -> bool
[src]
fn ne(&self, other: &ChatInviteLink) -> bool
[src]
impl Serialize for ChatInviteLink
[src]
impl Serialize for ChatInviteLink
[src]impl StructuralPartialEq for ChatInviteLink
[src]
impl StructuralPartialEq for ChatInviteLink
[src]Auto Trait Implementations
impl RefUnwindSafe for ChatInviteLink
impl RefUnwindSafe for ChatInviteLink
impl Send for ChatInviteLink
impl Send for ChatInviteLink
impl Sync for ChatInviteLink
impl Sync for ChatInviteLink
impl Unpin for ChatInviteLink
impl Unpin for ChatInviteLink
impl UnwindSafe for ChatInviteLink
impl UnwindSafe for ChatInviteLink
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 + Sync + Send, Global> where
T: Send + Sync,
[src]
&self
) -> Box<dyn CloneAny + 'static + Sync + Send, 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,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,