Enum messagebird_async::sms::Payload [−][src]
Variants
Bytes(Vec<u8>)
Text(String)
Trait Implementations
impl Debug for Payload
[src]
impl Debug for Payload
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 Payload
[src]
impl Eq for Payload
impl PartialEq for Payload
[src]
impl PartialEq for Payload
fn eq(&self, other: &Payload) -> bool
[src]
fn eq(&self, other: &Payload) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Payload) -> bool
[src]
fn ne(&self, other: &Payload) -> bool
This method tests for !=
.
impl Default for Payload
[src]
impl Default for Payload
impl LowerHex for Payload
[src]
impl LowerHex for Payload
impl FromStr for Payload
[src]
impl FromStr for Payload
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 Serialize for Payload
[src]
impl Serialize for Payload
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error> where
S: Serializer,
[src]
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error> where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl<'de> Deserialize<'de> for Payload
[src]
impl<'de> Deserialize<'de> for Payload
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more