Struct telegram_bot_ars::types::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 as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<ChatId, <D as Deserializer<'de>>::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) -> ChatId
fn from(c: SupergroupId) -> ChatId
Converts to this type from the input type.
source§impl Ord for ChatId
impl Ord 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 moresource§impl Serialize for ChatId
impl Serialize for ChatId
source§fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more