Struct telegram_bot_raw_ars::types::refs::SupergroupId
source · pub struct SupergroupId(_);
Expand description
Unique supergroup identifier.
Implementations§
Trait Implementations§
source§impl Clone for SupergroupId
impl Clone for SupergroupId
source§fn clone(&self) -> SupergroupId
fn clone(&self) -> SupergroupId
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SupergroupId
impl Debug for SupergroupId
source§impl<'de> Deserialize<'de> for SupergroupId
impl<'de> Deserialize<'de> for SupergroupId
source§fn deserialize<D>(deserializer: D) -> Result<SupergroupId, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<SupergroupId, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for SupergroupId
impl Display for SupergroupId
source§impl From<SupergroupId> for ChatId
impl From<SupergroupId> for ChatId
source§fn from(c: SupergroupId) -> Self
fn from(c: SupergroupId) -> Self
Converts to this type from the input type.
source§impl From<SupergroupId> for Integer
impl From<SupergroupId> for Integer
source§fn from(from: SupergroupId) -> Self
fn from(from: SupergroupId) -> Self
Converts to this type from the input type.
source§impl From<i64> for SupergroupId
impl From<i64> for SupergroupId
source§impl Hash for SupergroupId
impl Hash for SupergroupId
source§impl Ord for SupergroupId
impl Ord for SupergroupId
source§fn cmp(&self, other: &SupergroupId) -> Ordering
fn cmp(&self, other: &SupergroupId) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<SupergroupId> for SupergroupId
impl PartialEq<SupergroupId> for SupergroupId
source§fn eq(&self, other: &SupergroupId) -> bool
fn eq(&self, other: &SupergroupId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<SupergroupId> for SupergroupId
impl PartialOrd<SupergroupId> for SupergroupId
source§fn partial_cmp(&self, other: &SupergroupId) -> Option<Ordering>
fn partial_cmp(&self, other: &SupergroupId) -> Option<Ordering>
1.0.0 · source§fn 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 more