pub struct GetUserNotificationCountResponse {
pub status: ApiStatus,
pub count: i64,
}Fields§
§status: ApiStatus§count: i64Implementations§
Source§impl GetUserNotificationCountResponse
impl GetUserNotificationCountResponse
pub fn new(status: ApiStatus, count: i64) -> GetUserNotificationCountResponse
Trait Implementations§
Source§impl Clone for GetUserNotificationCountResponse
impl Clone for GetUserNotificationCountResponse
Source§fn clone(&self) -> GetUserNotificationCountResponse
fn clone(&self) -> GetUserNotificationCountResponse
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 Default for GetUserNotificationCountResponse
impl Default for GetUserNotificationCountResponse
Source§fn default() -> GetUserNotificationCountResponse
fn default() -> GetUserNotificationCountResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetUserNotificationCountResponse
impl<'de> Deserialize<'de> for GetUserNotificationCountResponse
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 GetUserNotificationCountResponse
impl PartialEq for GetUserNotificationCountResponse
Source§fn eq(&self, other: &GetUserNotificationCountResponse) -> bool
fn eq(&self, other: &GetUserNotificationCountResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GetUserNotificationCountResponse
Auto Trait Implementations§
impl Freeze for GetUserNotificationCountResponse
impl RefUnwindSafe for GetUserNotificationCountResponse
impl Send for GetUserNotificationCountResponse
impl Sync for GetUserNotificationCountResponse
impl Unpin for GetUserNotificationCountResponse
impl UnwindSafe for GetUserNotificationCountResponse
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