Enum messagebird_async::sms::Payload[][src]

pub enum Payload {
    Bytes(Vec<u8>),
    Text(String),
}

Variants

Trait Implementations

impl Clone for Payload
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Payload
[src]

Formats the value using the given formatter. Read more

impl Eq for Payload
[src]

impl PartialEq for Payload
[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 Payload
[src]

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

impl LowerHex for Payload
[src]

Formats the value using the given formatter.

impl FromStr for Payload
[src]

The associated error which can be returned from parsing.

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

impl Serialize for Payload
[src]

Serialize this value into the given Serde serializer. Read more

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

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations

impl Send for Payload

impl Sync for Payload