pub struct SendRequest {
pub as_nick: String,
pub to: String,
pub text: String,
}Expand description
One request on the send socket.
Fields§
§as_nick: StringSending session’s nick (the bot running the command).
to: StringRecipient nick.
text: StringPlaintext; encrypted by the sending session.
Trait Implementations§
Source§impl Clone for SendRequest
impl Clone for SendRequest
Source§impl Debug for SendRequest
impl Debug for SendRequest
Source§impl<'de> Deserialize<'de> for SendRequest
impl<'de> Deserialize<'de> for SendRequest
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 SendRequest
impl RefUnwindSafe for SendRequest
impl Send for SendRequest
impl Sync for SendRequest
impl Unpin for SendRequest
impl UnsafeUnpin for SendRequest
impl UnwindSafe for SendRequest
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