pub struct SendCustomRequest { /* private fields */ }
Expand description
Sends a custom request; for bots only
Implementations§
Trait Implementations§
Source§impl AsRef<SendCustomRequest> for SendCustomRequest
impl AsRef<SendCustomRequest> for SendCustomRequest
Source§fn as_ref(&self) -> &SendCustomRequest
fn as_ref(&self) -> &SendCustomRequest
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for SendCustomRequest
impl Clone for SendCustomRequest
Source§fn clone(&self) -> SendCustomRequest
fn clone(&self) -> SendCustomRequest
Returns a copy 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 SendCustomRequest
impl Debug for SendCustomRequest
Source§impl Default for SendCustomRequest
impl Default for SendCustomRequest
Source§fn default() -> SendCustomRequest
fn default() -> SendCustomRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SendCustomRequest
impl<'de> Deserialize<'de> for SendCustomRequest
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 SendCustomRequest
impl RefUnwindSafe for SendCustomRequest
impl Send for SendCustomRequest
impl Sync for SendCustomRequest
impl Unpin for SendCustomRequest
impl UnwindSafe for SendCustomRequest
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