pub struct LevelChangeEvent {
pub change_type: LevelChangeType,
pub previous_level: Option<LogLevel>,
pub new_level: LogLevel,
pub timestamp: SystemTime,
}Expand description
Level change event for observability.
Fields§
§change_type: LevelChangeTypeThe type of change.
previous_level: Option<LogLevel>Previous level (if applicable).
new_level: LogLevelNew level.
timestamp: SystemTimeTimestamp of the change.
Trait Implementations§
Source§impl Clone for LevelChangeEvent
impl Clone for LevelChangeEvent
Source§fn clone(&self) -> LevelChangeEvent
fn clone(&self) -> LevelChangeEvent
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 moreAuto Trait Implementations§
impl Freeze for LevelChangeEvent
impl RefUnwindSafe for LevelChangeEvent
impl Send for LevelChangeEvent
impl Sync for LevelChangeEvent
impl Unpin for LevelChangeEvent
impl UnsafeUnpin for LevelChangeEvent
impl UnwindSafe for LevelChangeEvent
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