pub struct StarSubscriptionTypeChannel {
pub can_reuse: bool,
pub invite_link: String,
}Expand description
Describes a subscription to a channel chat
Fields§
§can_reuse: boolTrue, if the subscription is active and the user can use the method reuseStarSubscription to join the subscribed chat again
invite_link: StringThe invite link that can be used to renew the subscription if it has been expired; may be empty, if the link isn’t available anymore
Trait Implementations§
Source§impl Clone for StarSubscriptionTypeChannel
impl Clone for StarSubscriptionTypeChannel
Source§fn clone(&self) -> StarSubscriptionTypeChannel
fn clone(&self) -> StarSubscriptionTypeChannel
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 StarSubscriptionTypeChannel
impl Debug for StarSubscriptionTypeChannel
Source§impl Default for StarSubscriptionTypeChannel
impl Default for StarSubscriptionTypeChannel
Source§fn default() -> StarSubscriptionTypeChannel
fn default() -> StarSubscriptionTypeChannel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StarSubscriptionTypeChannel
impl<'de> Deserialize<'de> for StarSubscriptionTypeChannel
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
impl StructuralPartialEq for StarSubscriptionTypeChannel
Auto Trait Implementations§
impl Freeze for StarSubscriptionTypeChannel
impl RefUnwindSafe for StarSubscriptionTypeChannel
impl Send for StarSubscriptionTypeChannel
impl Sync for StarSubscriptionTypeChannel
impl Unpin for StarSubscriptionTypeChannel
impl UnsafeUnpin for StarSubscriptionTypeChannel
impl UnwindSafe for StarSubscriptionTypeChannel
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