pub struct StarPaymentOptions {
pub options: Vec<StarPaymentOption>,
}Expand description
Contains a list of options for buying Telegram Stars
Fields§
§options: Vec<StarPaymentOption>The list of options
Trait Implementations§
Source§impl Clone for StarPaymentOptions
impl Clone for StarPaymentOptions
Source§fn clone(&self) -> StarPaymentOptions
fn clone(&self) -> StarPaymentOptions
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 StarPaymentOptions
impl Debug for StarPaymentOptions
Source§impl Default for StarPaymentOptions
impl Default for StarPaymentOptions
Source§fn default() -> StarPaymentOptions
fn default() -> StarPaymentOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StarPaymentOptions
impl<'de> Deserialize<'de> for StarPaymentOptions
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 StarPaymentOptions
impl PartialEq for StarPaymentOptions
Source§impl Serialize for StarPaymentOptions
impl Serialize for StarPaymentOptions
impl StructuralPartialEq for StarPaymentOptions
Auto Trait Implementations§
impl Freeze for StarPaymentOptions
impl RefUnwindSafe for StarPaymentOptions
impl Send for StarPaymentOptions
impl Sync for StarPaymentOptions
impl Unpin for StarPaymentOptions
impl UnsafeUnpin for StarPaymentOptions
impl UnwindSafe for StarPaymentOptions
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