pub trait CreateChatSubscriptionInviteLinkSetters: Sized + HasPayload<Payload = CreateChatSubscriptionInviteLink> {
// Provided methods
fn chat_id<T>(self, value: T) -> Self
where T: Into<Recipient> { ... }
fn subscription_period(self, value: Seconds) -> Self { ... }
fn subscription_price(self, value: u32) -> Self { ... }
fn name<T>(self, value: T) -> Self
where T: Into<String> { ... }
}Expand description
Setters for fields of CreateChatSubscriptionInviteLink
Provided Methods§
Sourcefn subscription_period(self, value: Seconds) -> Self
fn subscription_period(self, value: Seconds) -> Self
Setter for subscription_period field.
Sourcefn subscription_price(self, value: u32) -> Self
fn subscription_price(self, value: u32) -> Self
Setter for subscription_price field.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.