pub struct ChatId(/* private fields */);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 PartialOrd for ChatId
impl PartialOrd for ChatId
impl Copy for ChatId
impl Eq for ChatId
impl StructuralPartialEq for ChatId
Auto Trait Implementations§
impl Freeze for ChatId
impl RefUnwindSafe for ChatId
impl Send for ChatId
impl Sync for ChatId
impl Unpin for ChatId
impl UnwindSafe for ChatId
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more