Struct spdlog::RecordOwned
source · pub struct RecordOwned { /* private fields */ }
Expand description
Record
without lifetimes version.
Implementations§
source§impl RecordOwned
impl RecordOwned
sourcepub fn logger_name(&self) -> Option<&str>
pub fn logger_name(&self) -> Option<&str>
Gets the logger name.
sourcepub fn source_location(&self) -> Option<&SourceLocation>
pub fn source_location(&self) -> Option<&SourceLocation>
Gets the source location.
sourcepub fn time(&self) -> SystemTime
pub fn time(&self) -> SystemTime
Gets the time when the record was created.
Trait Implementations§
source§impl Clone for RecordOwned
impl Clone for RecordOwned
source§fn clone(&self) -> RecordOwned
fn clone(&self) -> RecordOwned
Returns a copy 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 RefUnwindSafe for RecordOwned
impl Send for RecordOwned
impl Sync for RecordOwned
impl Unpin for RecordOwned
impl UnwindSafe for RecordOwned
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