pub struct Snapshot {
pub contract_version: u16,
pub scope: &'static str,
pub scope_version: &'static str,
pub signal: SignalDescriptor,
pub attributes: Attributes,
pub job: Option<JobSnapshot>,
}Expand description
Immutable deterministic in-memory record.
Fields§
§contract_version: u16Semantic contract version.
scope: &'static strInstrumentation scope.
scope_version: &'static strInstrumentation scope version.
signal: SignalDescriptorRegistered descriptor.
attributes: AttributesAllowlisted attributes.
job: Option<JobSnapshot>Typed local-job detail, present only for the local-job trace signal.
Trait Implementations§
impl Eq for Snapshot
impl StructuralPartialEq for Snapshot
Auto Trait Implementations§
impl Freeze for Snapshot
impl RefUnwindSafe for Snapshot
impl Send for Snapshot
impl Sync for Snapshot
impl Unpin for Snapshot
impl UnsafeUnpin for Snapshot
impl UnwindSafe for Snapshot
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