Struct telegram_bot_raw_ars::types::refs::ChatId
source · pub struct ChatId(_);
Expand description
Unique chat identifier.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for ChatId
impl<'de> Deserialize<'de> for ChatId
source§fn deserialize<D>(deserializer: D) -> Result<ChatId, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<ChatId, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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 Ord for ChatId
impl Ord for ChatId
source§impl PartialEq<ChatId> for ChatId
impl PartialEq<ChatId> for ChatId
source§impl PartialOrd<ChatId> for ChatId
impl PartialOrd<ChatId> for ChatId
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