#[repr(C)]pub struct notification_s {
pub severity: c_int,
pub time: cdtime_t,
pub message: [c_char; 256],
pub host: [c_char; 128],
pub plugin: [c_char; 128],
pub plugin_instance: [c_char; 128],
pub type_: [c_char; 128],
pub type_instance: [c_char; 128],
pub meta: *mut notification_meta_t,
}Fields§
§severity: c_int§time: cdtime_t§message: [c_char; 256]§host: [c_char; 128]§plugin: [c_char; 128]§plugin_instance: [c_char; 128]§type_: [c_char; 128]§type_instance: [c_char; 128]§meta: *mut notification_meta_tTrait Implementations§
Source§impl Clone for notification_s
impl Clone for notification_s
Source§fn clone(&self) -> notification_s
fn clone(&self) -> notification_s
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 moreimpl Copy for notification_s
Auto Trait Implementations§
impl Freeze for notification_s
impl RefUnwindSafe for notification_s
impl !Send for notification_s
impl !Sync for notification_s
impl Unpin for notification_s
impl UnwindSafe for notification_s
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