pub struct ApiNotification {
pub code: i32,
pub content: String,
pub create_time: String,
pub id: String,
pub persistent: bool,
pub sender_id: String,
pub subject: String,
}Expand description
A notification in the server.
Fields§
§code: i32§content: String§create_time: String§id: String§persistent: bool§sender_id: String§subject: StringTrait Implementations§
Source§impl DeJson for ApiNotification
impl DeJson for ApiNotification
Source§impl Debug for ApiNotification
impl Debug for ApiNotification
Source§impl Default for ApiNotification
impl Default for ApiNotification
Source§fn default() -> ApiNotification
fn default() -> ApiNotification
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ApiNotification
impl RefUnwindSafe for ApiNotification
impl Send for ApiNotification
impl Sync for ApiNotification
impl Unpin for ApiNotification
impl UnwindSafe for ApiNotification
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