[][src]Struct telegram_bot_fork::types::SupergroupId

pub struct SupergroupId(pub i64);

Unique supergroup identifier.

Methods

impl SupergroupId[src]

pub fn new(inner: i64) -> SupergroupId[src]

Trait Implementations

impl Debug for SupergroupId[src]

impl<'de> Deserialize<'de> for SupergroupId[src]

impl Copy for SupergroupId[src]

impl Ord for SupergroupId[src]

fn max(self, other: Self) -> Self1.21.0[src]

Compares and returns the maximum of two values. Read more

fn min(self, other: Self) -> Self1.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<SupergroupId> for SupergroupId[src]

impl Display for SupergroupId[src]

impl Hash for SupergroupId[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl From<SupergroupId> for ChatId[src]

impl From<i64> for SupergroupId[src]

impl PartialOrd<SupergroupId> for SupergroupId[src]

impl Serialize for SupergroupId[src]

impl ToChatRef for SupergroupId[src]

impl Eq for SupergroupId[src]

impl Clone for SupergroupId[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<C> CanGetChat for C where
    C: ToChatRef
[src]

impl<C> CanUnpinMessage for C where
    C: ToChatRef
[src]

impl<C> CanSendMessage for C where
    C: ToChatRef
[src]

impl<'p, 'f, 'l, C> CanSendContact<'p, 'f, 'l> for C where
    C: ToChatRef
[src]

impl<M> CanSendAudio for M where
    M: ToChatRef
[src]

impl<C> CanRestrictChatMemberForChat for C where
    C: ToChatRef
[src]

impl<C> CanSendLocation for C where
    C: ToChatRef
[src]

impl<C> CanGetChatMembersCount for C where
    C: ToChatRef
[src]

impl<S> ToChatRef for S where
    S: Deref,
    <S as Deref>::Target: ToChatRef
[src]

impl<C> CanGetChatAdministrators for C where
    C: ToChatRef
[src]

impl<C> CanGetChatMemberForChat for C where
    C: ToChatRef
[src]

impl<'t, 'a, 'f, C> CanSendVenue<'t, 'a, 'f> for C where
    C: ToChatRef
[src]

impl<C> CanKickChatMemberForChat for C where
    C: ToChatRef
[src]

impl<C> CanUnbanChatMemberForChat for C where
    C: ToChatRef
[src]

impl<C> CanSendChatAction for C where
    C: ToChatRef
[src]

impl<C> CanLeaveChat for C where
    C: ToChatRef
[src]

impl<T> Erased for T

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]