pub struct LeaveChat { /* private fields */ }
Expand description
Use this method for your bot to leave a group, supergroup or channel.
Implementations§
Trait Implementations§
Source§impl PartialOrd for LeaveChat
impl PartialOrd for LeaveChat
Source§impl Request for LeaveChat
impl Request for LeaveChat
type Type = JsonRequestType<LeaveChat>
type Response = JsonTrueToUnitResponse
fn serialize(&self) -> Result<HttpRequest, Error>
fn detach(&self) -> DetachedRequest<Self::Response>
Source§impl Serialize for LeaveChat
impl Serialize for LeaveChat
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for LeaveChat
Auto Trait Implementations§
impl Freeze for LeaveChat
impl RefUnwindSafe for LeaveChat
impl Send for LeaveChat
impl Sync for LeaveChat
impl Unpin for LeaveChat
impl UnwindSafe for LeaveChat
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