pub struct ChatInviteLinkCount {
pub user_id: i64,
pub invite_link_count: i32,
pub revoked_invite_link_count: i32,
}
Expand description
Describes a chat administrator with a number of active and revoked chat invite links
Fields§
§user_id: i64
Administrator’s user identifier
invite_link_count: i32
Number of active invite links
revoked_invite_link_count: i32
Number of revoked invite links
Trait Implementations§
Source§impl Clone for ChatInviteLinkCount
impl Clone for ChatInviteLinkCount
Source§fn clone(&self) -> ChatInviteLinkCount
fn clone(&self) -> ChatInviteLinkCount
Returns a duplicate 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 ChatInviteLinkCount
impl Debug for ChatInviteLinkCount
Source§impl Default for ChatInviteLinkCount
impl Default for ChatInviteLinkCount
Source§fn default() -> ChatInviteLinkCount
fn default() -> ChatInviteLinkCount
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ChatInviteLinkCount
impl<'de> Deserialize<'de> for ChatInviteLinkCount
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
Source§impl PartialEq for ChatInviteLinkCount
impl PartialEq for ChatInviteLinkCount
Source§impl Serialize for ChatInviteLinkCount
impl Serialize for ChatInviteLinkCount
impl StructuralPartialEq for ChatInviteLinkCount
Auto Trait Implementations§
impl Freeze for ChatInviteLinkCount
impl RefUnwindSafe for ChatInviteLinkCount
impl Send for ChatInviteLinkCount
impl Sync for ChatInviteLinkCount
impl Unpin for ChatInviteLinkCount
impl UnwindSafe for ChatInviteLinkCount
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