pub type InvoiceCollectionMethod = CollectionMethod;
👎Deprecated since 0.12.0

Aliased Type§

enum InvoiceCollectionMethod {
    ChargeAutomatically,
    SendInvoice,
}

Variants§

§

ChargeAutomatically

§

SendInvoice

Implementations§

source§

impl CollectionMethod

source

pub fn as_str(self) -> &'static str

Trait Implementations§

source§

impl AsRef<str> for CollectionMethod

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Clone for CollectionMethod

source§

fn clone(&self) -> CollectionMethod

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for CollectionMethod

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for CollectionMethod

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for CollectionMethod

source§

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 Display for CollectionMethod

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<CollectionMethod> for CollectionMethod

source§

fn eq(&self, other: &CollectionMethod) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Serialize for CollectionMethod

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for CollectionMethod

source§

impl Eq for CollectionMethod

source§

impl StructuralEq for CollectionMethod

source§

impl StructuralPartialEq for CollectionMethod