pub struct NotifyClientEnterView { /* private fields */ }
Implementations§
Source§impl NotifyClientEnterView
impl NotifyClientEnterView
pub fn client_id(&self) -> i64
pub fn client_nickname(&self) -> &str
pub fn client_country(&self) -> &str
pub fn client_unique_identifier(&self) -> &str
pub fn channel_id(&self) -> i64
Trait Implementations§
Source§impl Clone for NotifyClientEnterView
impl Clone for NotifyClientEnterView
Source§fn clone(&self) -> NotifyClientEnterView
fn clone(&self) -> NotifyClientEnterView
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for NotifyClientEnterView
impl Debug for NotifyClientEnterView
Source§impl<'de> Deserialize<'de> for NotifyClientEnterView
impl<'de> Deserialize<'de> for NotifyClientEnterView
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 From<NotifyClientEnterView> for ClientBasicInfo
impl From<NotifyClientEnterView> for ClientBasicInfo
Source§fn from(view: NotifyClientEnterView) -> Self
fn from(view: NotifyClientEnterView) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for NotifyClientEnterView
impl RefUnwindSafe for NotifyClientEnterView
impl Send for NotifyClientEnterView
impl Sync for NotifyClientEnterView
impl Unpin for NotifyClientEnterView
impl UnwindSafe for NotifyClientEnterView
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