pub struct LogDataWithResource {
pub record: SdkLogRecord,
pub instrumentation: InstrumentationScope,
pub resource: Cow<'static, Resource>,
}Expand description
LogDataWithResource associates a SdkLogRecord with a Resource and
InstrumentationScope.
Fields§
§record: SdkLogRecordLog record
instrumentation: InstrumentationScopeInstrumentation details for the emitter who produced this LogRecord.
resource: Cow<'static, Resource>Resource for the emitter who produced this LogRecord.
Trait Implementations§
Source§impl Clone for LogDataWithResource
impl Clone for LogDataWithResource
Source§fn clone(&self) -> LogDataWithResource
fn clone(&self) -> LogDataWithResource
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 LogDataWithResource
impl RefUnwindSafe for LogDataWithResource
impl Send for LogDataWithResource
impl Sync for LogDataWithResource
impl Unpin for LogDataWithResource
impl UnwindSafe for LogDataWithResource
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