pub struct StarSubscriptionTypeBot {
pub is_canceled_by_bot: bool,
pub title: String,
pub photo: Photo,
pub invoice_link: String,
}Expand description
Describes a subscription in a bot or a business account
Fields§
§is_canceled_by_bot: boolTrue, if the subscription was canceled by the bot and can’t be extended
title: StringSubscription invoice title
photo: PhotoSubscription invoice photo
invoice_link: StringThe link to the subscription invoice
Trait Implementations§
Source§impl Clone for StarSubscriptionTypeBot
impl Clone for StarSubscriptionTypeBot
Source§fn clone(&self) -> StarSubscriptionTypeBot
fn clone(&self) -> StarSubscriptionTypeBot
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 StarSubscriptionTypeBot
impl Debug for StarSubscriptionTypeBot
Source§impl Default for StarSubscriptionTypeBot
impl Default for StarSubscriptionTypeBot
Source§fn default() -> StarSubscriptionTypeBot
fn default() -> StarSubscriptionTypeBot
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StarSubscriptionTypeBot
impl<'de> Deserialize<'de> for StarSubscriptionTypeBot
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 StarSubscriptionTypeBot
impl PartialEq for StarSubscriptionTypeBot
Source§impl Serialize for StarSubscriptionTypeBot
impl Serialize for StarSubscriptionTypeBot
impl StructuralPartialEq for StarSubscriptionTypeBot
Auto Trait Implementations§
impl Freeze for StarSubscriptionTypeBot
impl RefUnwindSafe for StarSubscriptionTypeBot
impl Send for StarSubscriptionTypeBot
impl Sync for StarSubscriptionTypeBot
impl Unpin for StarSubscriptionTypeBot
impl UnsafeUnpin for StarSubscriptionTypeBot
impl UnwindSafe for StarSubscriptionTypeBot
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