pub struct OwnedLogData {
pub record: SdkLogRecord,
pub instrumentation: InstrumentationScope,
}Expand description
OwnedLogData represents a single log event without resource context.
Fields§
§record: SdkLogRecordLog record, which can be borrowed or owned.
instrumentation: InstrumentationScopeInstrumentation details for the emitter who produced this LogEvent.
Trait Implementations§
Source§impl Clone for OwnedLogData
impl Clone for OwnedLogData
Source§fn clone(&self) -> OwnedLogData
fn clone(&self) -> OwnedLogData
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 Freeze for OwnedLogData
impl RefUnwindSafe for OwnedLogData
impl Send for OwnedLogData
impl Sync for OwnedLogData
impl Unpin for OwnedLogData
impl UnwindSafe for OwnedLogData
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