pub struct MessageBody {
pub destination: String,
pub originator: String,
pub text: String,
pub time_to_send: String,
pub validity_period: u32,
pub callback_url: String,
pub use_local_time: bool,
}
Fields§
§destination: String
§originator: String
§text: String
§time_to_send: String
§validity_period: u32
§callback_url: String
§use_local_time: bool
Trait Implementations§
Source§impl Debug for MessageBody
impl Debug for MessageBody
Source§impl<'de> Deserialize<'de> for MessageBody
impl<'de> Deserialize<'de> for MessageBody
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 MessageBody
impl RefUnwindSafe for MessageBody
impl Send for MessageBody
impl Sync for MessageBody
impl Unpin for MessageBody
impl UnwindSafe for MessageBody
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