pub struct CreateChatInviteLinkParams {
pub chat_id: ChatId,
pub name: Option<String>,
pub expire_date: Option<u64>,
pub member_limit: Option<u32>,
pub creates_join_request: Option<bool>,
}Fields§
§chat_id: ChatId§name: Option<String>§expire_date: Option<u64>§member_limit: Option<u32>§creates_join_request: Option<bool>Implementations§
Source§impl CreateChatInviteLinkParams
impl CreateChatInviteLinkParams
Sourcepub fn builder() -> CreateChatInviteLinkParamsBuilder
pub fn builder() -> CreateChatInviteLinkParamsBuilder
Create an instance of CreateChatInviteLinkParams using the builder syntax
Trait Implementations§
Source§impl Clone for CreateChatInviteLinkParams
impl Clone for CreateChatInviteLinkParams
Source§fn clone(&self) -> CreateChatInviteLinkParams
fn clone(&self) -> CreateChatInviteLinkParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CreateChatInviteLinkParams
impl Debug for CreateChatInviteLinkParams
Source§impl<'de> Deserialize<'de> for CreateChatInviteLinkParams
impl<'de> Deserialize<'de> for CreateChatInviteLinkParams
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 CreateChatInviteLinkParams
impl PartialEq for CreateChatInviteLinkParams
Source§fn eq(&self, other: &CreateChatInviteLinkParams) -> bool
fn eq(&self, other: &CreateChatInviteLinkParams) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for CreateChatInviteLinkParams
impl StructuralPartialEq for CreateChatInviteLinkParams
Auto Trait Implementations§
impl Freeze for CreateChatInviteLinkParams
impl RefUnwindSafe for CreateChatInviteLinkParams
impl Send for CreateChatInviteLinkParams
impl Sync for CreateChatInviteLinkParams
impl Unpin for CreateChatInviteLinkParams
impl UnsafeUnpin for CreateChatInviteLinkParams
impl UnwindSafe for CreateChatInviteLinkParams
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