Struct telegram_bot_fork_raw::requests::leave_chat::LeaveChat
source · pub struct LeaveChat { /* private fields */ }
Expand description
Use this method for your bot to leave a group, supergroup or channel.
Implementations
Trait Implementations
sourceimpl PartialOrd<LeaveChat> for LeaveChat
impl PartialOrd<LeaveChat> for LeaveChat
sourcefn partial_cmp(&self, other: &LeaveChat) -> Option<Ordering>
fn partial_cmp(&self, other: &LeaveChat) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresourceimpl 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>
impl StructuralPartialEq for LeaveChat
Auto Trait Implementations
impl RefUnwindSafe for LeaveChat
impl Send for LeaveChat
impl Sync for LeaveChat
impl Unpin for LeaveChat
impl UnwindSafe for LeaveChat
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more