pub struct SendMessageParams {
pub recipient: String,
pub message_box: String,
pub body: String,
pub message_id: String,
}Expand description
Parameters for sending a message to a recipient’s inbox.
Fields§
§recipient: String§message_box: String§body: String§message_id: StringTrait Implementations§
Source§impl Clone for SendMessageParams
impl Clone for SendMessageParams
Source§fn clone(&self) -> SendMessageParams
fn clone(&self) -> SendMessageParams
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 SendMessageParams
impl Debug for SendMessageParams
Source§impl<'de> Deserialize<'de> for SendMessageParams
impl<'de> Deserialize<'de> for SendMessageParams
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 SendMessageParams
impl RefUnwindSafe for SendMessageParams
impl Send for SendMessageParams
impl Sync for SendMessageParams
impl Unpin for SendMessageParams
impl UnsafeUnpin for SendMessageParams
impl UnwindSafe for SendMessageParams
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