Struct mcaptcha::api::v1::notifications::get::NotificationResp
source · [−]pub struct NotificationResp {
pub name: String,
pub heading: String,
pub message: String,
pub received: i64,
pub id: i32,
}
Fields
name: String
heading: String
message: String
received: i64
id: i32
Implementations
Trait Implementations
sourceimpl Clone for NotificationResp
impl Clone for NotificationResp
sourcefn clone(&self) -> NotificationResp
fn clone(&self) -> NotificationResp
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Default for NotificationResp
impl Default for NotificationResp
sourcefn default() -> NotificationResp
fn default() -> NotificationResp
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for NotificationResp
impl<'de> Deserialize<'de> for NotificationResp
sourcefn 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
sourceimpl From<Notification> for NotificationResp
impl From<Notification> for NotificationResp
sourceimpl PartialEq<NotificationResp> for NotificationResp
impl PartialEq<NotificationResp> for NotificationResp
sourcefn eq(&self, other: &NotificationResp) -> bool
fn eq(&self, other: &NotificationResp) -> bool
sourceimpl Serialize for NotificationResp
impl Serialize for NotificationResp
impl StructuralPartialEq for NotificationResp
Auto Trait Implementations
impl RefUnwindSafe for NotificationResp
impl Send for NotificationResp
impl Sync for NotificationResp
impl Unpin for NotificationResp
impl UnwindSafe for NotificationResp
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more