Enum messagebird_async::sms::Direction[][src]

pub enum Direction {
    SendToMobile,
    ReceivedFromMobile,
    Invalid,
}

Determines if the direction of the message

Mostly useful for filtering messages with ListParamters/RequestMessageList

Variants

Methods

impl Direction
[src]

Trait Implementations

impl Clone for Direction
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Direction
[src]

Formats the value using the given formatter. Read more

impl Eq for Direction
[src]

impl PartialEq for Direction
[src]

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

This method tests for !=.

impl FromStr for Direction
[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 Direction
[src]

Converts the given value to a String. Read more

Auto Trait Implementations

impl Send for Direction

impl Sync for Direction