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
SendToMobile
ReceivedFromMobile
Invalid
Methods
impl Direction
[src]
impl Direction
Trait Implementations
impl Clone for Direction
[src]
impl Clone for Direction
fn clone(&self) -> Direction
[src]
fn clone(&self) -> Direction
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for Direction
[src]
impl Debug for Direction
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Eq for Direction
[src]
impl Eq for Direction
impl PartialEq for Direction
[src]
impl PartialEq for Direction
fn eq(&self, other: &Direction) -> bool
[src]
fn eq(&self, other: &Direction) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl FromStr for Direction
[src]
impl FromStr for Direction
type Err = MessageBirdError
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Self, Self::Err>
[src]
fn from_str(s: &str) -> Result<Self, Self::Err>
Parses a string s
to return a value of this type. Read more
impl ToString for Direction
[src]
impl ToString for Direction