pub struct MessageSendParameters {
pub message: Box<MessageSendParametersMessage>,
pub thread: Option<Box<MessageSendParametersThread>>,
}Fields§
§message: Box<MessageSendParametersMessage>§thread: Option<Box<MessageSendParametersThread>>Implementations§
Source§impl MessageSendParameters
impl MessageSendParameters
pub fn new(message: MessageSendParametersMessage) -> MessageSendParameters
Trait Implementations§
Source§impl Clone for MessageSendParameters
impl Clone for MessageSendParameters
Source§fn clone(&self) -> MessageSendParameters
fn clone(&self) -> MessageSendParameters
Returns a duplicate of the value. Read more
1.0.0 · 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 MessageSendParameters
impl Debug for MessageSendParameters
Source§impl Default for MessageSendParameters
impl Default for MessageSendParameters
Source§fn default() -> MessageSendParameters
fn default() -> MessageSendParameters
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MessageSendParameters
impl<'de> Deserialize<'de> for MessageSendParameters
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
Source§impl PartialEq for MessageSendParameters
impl PartialEq for MessageSendParameters
Source§impl Serialize for MessageSendParameters
impl Serialize for MessageSendParameters
impl StructuralPartialEq for MessageSendParameters
Auto Trait Implementations§
impl Freeze for MessageSendParameters
impl RefUnwindSafe for MessageSendParameters
impl Send for MessageSendParameters
impl Sync for MessageSendParameters
impl Unpin for MessageSendParameters
impl UnwindSafe for MessageSendParameters
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