pub struct GetChatAdministrators { /* private fields */ }
Expand description
Use this method to get a list of administrators in a chat. If the chat is a group or a supergroup and no administrators were appointed, only the creator will be returned.
Implementations
Trait Implementations
sourceimpl Clone for GetChatAdministrators
impl Clone for GetChatAdministrators
sourcefn clone(&self) -> GetChatAdministrators
fn clone(&self) -> GetChatAdministrators
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for GetChatAdministrators
impl Debug for GetChatAdministrators
sourceimpl PartialEq<GetChatAdministrators> for GetChatAdministrators
impl PartialEq<GetChatAdministrators> for GetChatAdministrators
sourcefn eq(&self, other: &GetChatAdministrators) -> bool
fn eq(&self, other: &GetChatAdministrators) -> bool
sourceimpl PartialOrd<GetChatAdministrators> for GetChatAdministrators
impl PartialOrd<GetChatAdministrators> for GetChatAdministrators
sourcefn partial_cmp(&self, other: &GetChatAdministrators) -> Option<Ordering>
fn partial_cmp(&self, other: &GetChatAdministrators) -> 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 GetChatAdministrators
impl Request for GetChatAdministrators
type Type = JsonRequestType<GetChatAdministrators>
type Response = JsonIdResponse<Vec<ChatMember, Global>>
fn serialize(&self) -> Result<HttpRequest, Error>
fn detach(&self) -> DetachedRequest<Self::Response>
sourceimpl Serialize for GetChatAdministrators
impl Serialize for GetChatAdministrators
impl StructuralPartialEq for GetChatAdministrators
Auto Trait Implementations
impl RefUnwindSafe for GetChatAdministrators
impl Send for GetChatAdministrators
impl Sync for GetChatAdministrators
impl Unpin for GetChatAdministrators
impl UnwindSafe for GetChatAdministrators
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