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