pub struct ExtendedMessage { /* private fields */ }Implementations§
Source§impl ExtendedMessage
impl ExtendedMessage
pub fn new(message: impl Into<String>) -> Self
pub fn with_duration_millis(self, duration_millis: u32) -> Self
pub fn with_priority(self, priority: u32) -> Self
pub fn with_level(self, level: LogLevel) -> Self
pub fn with_target(self, target: MessageTarget) -> Self
pub fn with_kind(self, kind: MessageKind) -> Self
pub fn with_progress(self, progress: MessageProgress) -> Self
Trait Implementations§
Source§impl Clone for ExtendedMessage
impl Clone for ExtendedMessage
Source§fn clone(&self) -> ExtendedMessage
fn clone(&self) -> ExtendedMessage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ExtendedMessage
impl Debug for ExtendedMessage
Source§impl PartialEq for ExtendedMessage
impl PartialEq for ExtendedMessage
Source§fn eq(&self, other: &ExtendedMessage) -> bool
fn eq(&self, other: &ExtendedMessage) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ExtendedMessage
impl StructuralPartialEq for ExtendedMessage
Auto Trait Implementations§
impl Freeze for ExtendedMessage
impl RefUnwindSafe for ExtendedMessage
impl Send for ExtendedMessage
impl Sync for ExtendedMessage
impl Unpin for ExtendedMessage
impl UnsafeUnpin for ExtendedMessage
impl UnwindSafe for ExtendedMessage
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