Struct spdlog::RecordOwned
source · pub struct RecordOwned { /* private fields */ }Expand description
Record without lifetimes version.
Implementations
sourceimpl 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
sourceimpl Clone for RecordOwned
impl Clone for RecordOwned
sourcefn clone(&self) -> RecordOwned
fn clone(&self) -> RecordOwned
Returns a copy of the value. Read more
1.0.0 · sourcefn 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
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