pub struct InlineId(/* private fields */);Expand description
Opaque Inline ID used by high-level client events.
Inline server IDs are represented as signed 64-bit integers across existing clients. This wrapper avoids mixing user, chat, and message IDs with other integers in public event structures while keeping serialization simple.
Implementations§
Trait Implementations§
impl Copy for InlineId
Source§impl<'de> Deserialize<'de> for InlineId
impl<'de> Deserialize<'de> for InlineId
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for InlineId
Source§impl From<InlineId> for ChatCreateParticipant
impl From<InlineId> for ChatCreateParticipant
impl StructuralPartialEq for InlineId
Auto Trait Implementations§
impl Freeze for InlineId
impl RefUnwindSafe for InlineId
impl Send for InlineId
impl Sync for InlineId
impl Unpin for InlineId
impl UnsafeUnpin for InlineId
impl UnwindSafe for InlineId
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