pub struct AdvancedCreateChatSubscriptionInviteLinkRequest {
pub chat_id: ChatId,
pub name: Option<String>,
pub subscription_period: i64,
pub subscription_price: i64,
}Expand description
Auto-generated request for createChatSubscriptionInviteLink.
Fields§
§chat_id: ChatId§name: Option<String>§subscription_period: i64§subscription_price: i64Implementations§
Trait Implementations§
Source§impl Clone for AdvancedCreateChatSubscriptionInviteLinkRequest
impl Clone for AdvancedCreateChatSubscriptionInviteLinkRequest
Source§fn clone(&self) -> AdvancedCreateChatSubscriptionInviteLinkRequest
fn clone(&self) -> AdvancedCreateChatSubscriptionInviteLinkRequest
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 moreAuto Trait Implementations§
impl Freeze for AdvancedCreateChatSubscriptionInviteLinkRequest
impl RefUnwindSafe for AdvancedCreateChatSubscriptionInviteLinkRequest
impl Send for AdvancedCreateChatSubscriptionInviteLinkRequest
impl Sync for AdvancedCreateChatSubscriptionInviteLinkRequest
impl Unpin for AdvancedCreateChatSubscriptionInviteLinkRequest
impl UnsafeUnpin for AdvancedCreateChatSubscriptionInviteLinkRequest
impl UnwindSafe for AdvancedCreateChatSubscriptionInviteLinkRequest
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