Enum messagebird_async::sms::Originator[][src]

pub enum Originator {
    TelephoneNumber(TelephoneNumber),
    Other(AlphaNumeric),
}

Variants

Methods

impl Originator
[src]

Trait Implementations

impl Debug for Originator
[src]

Formats the value using the given formatter. Read more

impl Eq for Originator
[src]

impl PartialEq for Originator
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Default for Originator
[src]

Returns the "default value" for a type. Read more

impl FromStr for Originator
[src]

The associated error which can be returned from parsing.

Parses a string s to return a value of this type. Read more

impl ToString for Originator
[src]

Converts the given value to a String. Read more

impl From<TelephoneNumber> for Originator
[src]

Performs the conversion.

impl From<AlphaNumeric> for Originator
[src]

Performs the conversion.

impl<'de> Deserialize<'de> for Originator
[src]

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations

impl Send for Originator

impl Sync for Originator