Struct rnotifylib::message::Message
source · [−]pub struct Message { /* private fields */ }Implementations
sourceimpl Message
impl Message
pub fn new(
level: Level,
title: Option<String>,
message_detail: MessageDetail,
component: Option<Component>,
author: Author,
unix_timestamp_millis: i64
) -> Self
pub fn get_level(&self) -> &Level
pub fn get_title(&self) -> &Option<String>
pub fn get_message_detail(&self) -> &MessageDetail
pub fn get_unix_timestamp_millis(&self) -> i64
pub fn get_component(&self) -> &Option<Component>
Trait Implementations
impl StructuralPartialEq for Message
Auto Trait Implementations
impl RefUnwindSafe for Message
impl Send for Message
impl Sync for Message
impl Unpin for Message
impl UnwindSafe for Message
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