pub struct ChatTypePrivate {
pub user_id: i64,
}
Expand description
An ordinary chat with a user
Fields§
§user_id: i64
User identifier
Trait Implementations§
Source§impl Clone for ChatTypePrivate
impl Clone for ChatTypePrivate
Source§fn clone(&self) -> ChatTypePrivate
fn clone(&self) -> ChatTypePrivate
Returns a duplicate 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 ChatTypePrivate
impl Debug for ChatTypePrivate
Source§impl Default for ChatTypePrivate
impl Default for ChatTypePrivate
Source§fn default() -> ChatTypePrivate
fn default() -> ChatTypePrivate
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ChatTypePrivate
impl<'de> Deserialize<'de> for ChatTypePrivate
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
Source§impl PartialEq for ChatTypePrivate
impl PartialEq for ChatTypePrivate
Source§impl Serialize for ChatTypePrivate
impl Serialize for ChatTypePrivate
impl StructuralPartialEq for ChatTypePrivate
Auto Trait Implementations§
impl Freeze for ChatTypePrivate
impl RefUnwindSafe for ChatTypePrivate
impl Send for ChatTypePrivate
impl Sync for ChatTypePrivate
impl Unpin for ChatTypePrivate
impl UnwindSafe for ChatTypePrivate
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