pub struct NotificationResponseBody {
pub notification: Option<NotificationResponse>,
}Expand description
NotificationResponseBody
JSON schema
{
"type": "object",
"properties": {
"notification": {
"$ref": "#/components/schemas/NotificationResponse"
}
}
}Fields§
§notification: Option<NotificationResponse>Trait Implementations§
Source§impl Clone for NotificationResponseBody
impl Clone for NotificationResponseBody
Source§fn clone(&self) -> NotificationResponseBody
fn clone(&self) -> NotificationResponseBody
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 NotificationResponseBody
impl Debug for NotificationResponseBody
Source§impl Default for NotificationResponseBody
impl Default for NotificationResponseBody
Source§impl<'de> Deserialize<'de> for NotificationResponseBody
impl<'de> Deserialize<'de> for NotificationResponseBody
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<&NotificationResponseBody> for NotificationResponseBody
impl From<&NotificationResponseBody> for NotificationResponseBody
Source§fn from(value: &NotificationResponseBody) -> Self
fn from(value: &NotificationResponseBody) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for NotificationResponseBody
impl RefUnwindSafe for NotificationResponseBody
impl Send for NotificationResponseBody
impl Sync for NotificationResponseBody
impl Unpin for NotificationResponseBody
impl UnwindSafe for NotificationResponseBody
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