pub enum InputInvoice {
Message(InputInvoiceMessage),
Name(InputInvoiceName),
Telegram(InputInvoiceTelegram),
}
Variants§
Message(InputInvoiceMessage)
An invoice from a message of the type messageInvoice
Name(InputInvoiceName)
An invoice from a link of the type internalLinkTypeInvoice
Telegram(InputInvoiceTelegram)
An invoice for a payment toward Telegram; must not be used in the in-store apps
Trait Implementations§
Source§impl Clone for InputInvoice
impl Clone for InputInvoice
Source§fn clone(&self) -> InputInvoice
fn clone(&self) -> InputInvoice
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 InputInvoice
impl Debug for InputInvoice
Source§impl<'de> Deserialize<'de> for InputInvoice
impl<'de> Deserialize<'de> for InputInvoice
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 InputInvoice
impl PartialEq for InputInvoice
Source§impl Serialize for InputInvoice
impl Serialize for InputInvoice
impl StructuralPartialEq for InputInvoice
Auto Trait Implementations§
impl Freeze for InputInvoice
impl RefUnwindSafe for InputInvoice
impl Send for InputInvoice
impl Sync for InputInvoice
impl Unpin for InputInvoice
impl UnwindSafe for InputInvoice
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