pub struct UniMessage {
pub id: String,
pub to: String,
pub iso: String,
pub cc: String,
pub count: u32,
pub price: String,
}Expand description
Per-recipient message details returned by the API.
Fields§
§id: StringUnimatrix message ID.
to: StringRecipient phone number.
iso: StringRecipient country ISO code.
cc: StringRecipient calling code.
count: u32Number of billable message segments.
price: StringPrice charged for the message.
Trait Implementations§
Source§impl Clone for UniMessage
impl Clone for UniMessage
Source§fn clone(&self) -> UniMessage
fn clone(&self) -> UniMessage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UniMessage
impl Debug for UniMessage
Source§impl<'de> Deserialize<'de> for UniMessage
impl<'de> Deserialize<'de> for UniMessage
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for UniMessage
impl RefUnwindSafe for UniMessage
impl Send for UniMessage
impl Sync for UniMessage
impl Unpin for UniMessage
impl UnsafeUnpin for UniMessage
impl UnwindSafe for UniMessage
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more