[−][src]Struct telegram_bot_fork::types::Group
This object represents a group.
Fields
id: GroupId
Unique identifier for this chat.
title: String
Title, for supergroups, channels and group chats.
all_members_are_administrators: bool
True if a group has ‘All Members Are Admins’ enabled.
Trait Implementations
impl<'de> Deserialize<'de> for Group
[src]
fn deserialize<__D>(
__deserializer: __D
) -> Result<Group, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
__deserializer: __D
) -> Result<Group, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
impl Ord for Group
[src]
fn cmp(&self, other: &Group) -> Ordering
[src]
fn max(self, other: Self) -> Self
1.21.0[src]
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
Compares and returns the minimum of two values. Read more
fn clamp(self, min: Self, max: Self) -> Self
[src]
🔬 This is a nightly-only experimental API. (
clamp
)Restrict a value to a certain interval. Read more
impl PartialEq<Group> for Group
[src]
impl Hash for Group
[src]
fn hash<__H>(&self, state: &mut __H) where
__H: Hasher,
[src]
__H: Hasher,
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl PartialOrd<Group> for Group
[src]
fn partial_cmp(&self, other: &Group) -> Option<Ordering>
[src]
fn lt(&self, other: &Group) -> bool
[src]
fn le(&self, other: &Group) -> bool
[src]
fn gt(&self, other: &Group) -> bool
[src]
fn ge(&self, other: &Group) -> bool
[src]
impl ToChatRef for Group
[src]
fn to_chat_ref(&self) -> ChatRef
[src]
impl Eq for Group
[src]
impl Debug for Group
[src]
impl Clone for Group
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<S> ToChatRef for S where
S: Deref,
<S as Deref>::Target: ToChatRef,
[src]
S: Deref,
<S as Deref>::Target: ToChatRef,
fn to_chat_ref(&self) -> ChatRef
[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<C> CanKickChatMemberForChat for C where
C: ToChatRef,
[src]
C: ToChatRef,
fn kick<O>(&self, other: O) -> KickChatMember where
O: ToUserId,
[src]
O: ToUserId,
impl<C> CanGetChatAdministrators for C where
C: ToChatRef,
[src]
C: ToChatRef,
fn get_administrators(&self) -> GetChatAdministrators
[src]
impl<'t, 'a, 'f, C> CanSendVenue<'t, 'a, 'f> for C where
C: ToChatRef,
[src]
C: ToChatRef,
fn venue<T, A>(
&self,
latitude: f32,
longitude: f32,
title: T,
address: A
) -> SendVenue<'t, 'a, 'f> where
A: Into<Cow<'a, str>>,
T: Into<Cow<'t, str>>,
[src]
&self,
latitude: f32,
longitude: f32,
title: T,
address: A
) -> SendVenue<'t, 'a, 'f> where
A: Into<Cow<'a, str>>,
T: Into<Cow<'t, str>>,
impl<C> CanLeaveChat for C where
C: ToChatRef,
[src]
C: ToChatRef,
impl<M> CanSendAudio for M where
M: ToChatRef,
[src]
M: ToChatRef,
fn audio_url<'s, 'c, 'p, 't, T>(&self, url: T) -> SendAudio<'s, 'c, 'p, 't> where
T: Into<Cow<'s, str>>,
[src]
T: Into<Cow<'s, str>>,
impl<C> CanSendMessage for C where
C: ToChatRef,
[src]
C: ToChatRef,
impl<C> CanRestrictChatMemberForChat for C where
C: ToChatRef,
[src]
C: ToChatRef,
fn restrict<O>(&self, other: O) -> RestrictChatMember where
O: ToUserId,
[src]
O: ToUserId,
impl<'p, 'f, 'l, C> CanSendContact<'p, 'f, 'l> for C where
C: ToChatRef,
[src]
C: ToChatRef,
fn contact<P, F>(
&self,
phone_number: P,
first_name: F
) -> SendContact<'p, 'f, 'l> where
F: Into<Cow<'f, str>>,
P: Into<Cow<'p, str>>,
[src]
&self,
phone_number: P,
first_name: F
) -> SendContact<'p, 'f, 'l> where
F: Into<Cow<'f, str>>,
P: Into<Cow<'p, str>>,
impl<C> CanSendLocation for C where
C: ToChatRef,
[src]
C: ToChatRef,
fn location(&self, latitude: f32, longitude: f32) -> SendLocation
[src]
impl<C> CanSendChatAction for C where
C: ToChatRef,
[src]
C: ToChatRef,
fn chat_action(&self, action: ChatAction) -> SendChatAction
[src]
impl<C> CanExportChatInviteLink for C where
C: ToChatRef,
[src]
C: ToChatRef,
fn export_chat_invite_link(&self) -> ExportChatInviteLink
[src]
impl<C> CanGetChat for C where
C: ToChatRef,
[src]
C: ToChatRef,
impl<C> CanGetChatMembersCount for C where
C: ToChatRef,
[src]
C: ToChatRef,
fn get_members_count(&self) -> GetChatMembersCount
[src]
impl<C> CanUnpinMessage for C where
C: ToChatRef,
[src]
C: ToChatRef,
fn unpin_message(&self) -> UnpinChatMessage
[src]
impl<C> CanUnbanChatMemberForChat for C where
C: ToChatRef,
[src]
C: ToChatRef,
fn unban<O>(&self, other: O) -> UnbanChatMember where
O: ToUserId,
[src]
O: ToUserId,
impl<C> CanGetChatMemberForChat for C where
C: ToChatRef,
[src]
C: ToChatRef,
fn get_member<O>(&self, other: O) -> GetChatMember where
O: ToUserId,
[src]
O: ToUserId,
impl<T> Erased for T
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,