pub struct MockLogEntry {
pub level: LogLevel,
pub participant: [u8; 16],
pub category: String,
pub message: String,
}Expand description
Ein Log-Eintrag — fuer Test-Assertions gesammelt.
Fields§
§level: LogLevelSeverity.
participant: [u8; 16]Participant-GUID (16 octets).
category: StringCategory-String.
message: StringMessage.
Trait Implementations§
Source§impl Clone for MockLogEntry
impl Clone for MockLogEntry
Source§fn clone(&self) -> MockLogEntry
fn clone(&self) -> MockLogEntry
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 MockLogEntry
impl Debug for MockLogEntry
Source§impl PartialEq for MockLogEntry
impl PartialEq for MockLogEntry
Source§fn eq(&self, other: &MockLogEntry) -> bool
fn eq(&self, other: &MockLogEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for MockLogEntry
impl StructuralPartialEq for MockLogEntry
Auto Trait Implementations§
impl Freeze for MockLogEntry
impl RefUnwindSafe for MockLogEntry
impl Send for MockLogEntry
impl Sync for MockLogEntry
impl Unpin for MockLogEntry
impl UnsafeUnpin for MockLogEntry
impl UnwindSafe for MockLogEntry
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