pub struct MsgResp {
pub from: String,
pub to: String,
pub body: String,
pub sid: String,
pub status: MsgStatus,
pub media_url: Option<String>,
pub price: Option<String>,
pub price_unit: String,
pub uri: String,
pub date_created: String,
pub date_sent: Option<String>,
pub date_updated: String,
}
Fields§
§from: String
§to: String
§body: String
§sid: String
§status: MsgStatus
§media_url: Option<String>
§price: Option<String>
§price_unit: String
§uri: String
§date_created: String
§date_sent: Option<String>
§date_updated: String
Trait Implementations§
Source§impl<'de> Deserialize<'de> for MsgResp
impl<'de> Deserialize<'de> for MsgResp
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 MsgResp
impl RefUnwindSafe for MsgResp
impl Send for MsgResp
impl Sync for MsgResp
impl Unpin for MsgResp
impl UnwindSafe for MsgResp
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