pub struct SnapshotContextFrame {
pub target: Option<String>,
pub action: Option<String>,
pub locator: Option<String>,
pub path: Vec<String>,
pub metadata: ErrorMetadata,
pub fields: Vec<(String, String)>,
pub result: OperationResult,
}Fields§
§target: Option<String>Stable root operation name.
action: Option<String>Action/phase captured by doing(...).
locator: Option<String>Resource/location captured by at(...).
path: Vec<String>Stable path segments captured from runtime context.
metadata: ErrorMetadataStable machine-readable metadata payload.
fields: Vec<(String, String)>Compatibility projection of ad-hoc context key/value pairs.
result: OperationResultCompatibility projection of runtime scope result.
Implementations§
Source§impl SnapshotContextFrame
impl SnapshotContextFrame
pub fn stable_export(&self) -> StableSnapshotContextFrame
Trait Implementations§
Source§impl Clone for SnapshotContextFrame
impl Clone for SnapshotContextFrame
Source§fn clone(&self) -> SnapshotContextFrame
fn clone(&self) -> SnapshotContextFrame
Returns a duplicate 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 moreSource§impl Debug for SnapshotContextFrame
impl Debug for SnapshotContextFrame
Source§impl From<&SnapshotContextFrame> for StableSnapshotContextFrame
impl From<&SnapshotContextFrame> for StableSnapshotContextFrame
Source§fn from(value: &SnapshotContextFrame) -> Self
fn from(value: &SnapshotContextFrame) -> Self
Converts to this type from the input type.
Source§impl From<&StableSnapshotContextFrame> for SnapshotContextFrame
impl From<&StableSnapshotContextFrame> for SnapshotContextFrame
Source§fn from(value: &StableSnapshotContextFrame) -> Self
fn from(value: &StableSnapshotContextFrame) -> Self
Converts to this type from the input type.
Source§impl From<OperationContext> for SnapshotContextFrame
impl From<OperationContext> for SnapshotContextFrame
Source§fn from(value: OperationContext) -> Self
fn from(value: OperationContext) -> Self
Converts to this type from the input type.
Source§impl From<SnapshotContextFrame> for OperationContext
impl From<SnapshotContextFrame> for OperationContext
Source§fn from(value: SnapshotContextFrame) -> Self
fn from(value: SnapshotContextFrame) -> Self
Converts to this type from the input type.
Source§impl From<SnapshotContextFrame> for StableSnapshotContextFrame
impl From<SnapshotContextFrame> for StableSnapshotContextFrame
Source§fn from(value: SnapshotContextFrame) -> Self
fn from(value: SnapshotContextFrame) -> Self
Converts to this type from the input type.
Source§impl From<StableSnapshotContextFrame> for SnapshotContextFrame
impl From<StableSnapshotContextFrame> for SnapshotContextFrame
Source§fn from(value: StableSnapshotContextFrame) -> Self
fn from(value: StableSnapshotContextFrame) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SnapshotContextFrame
impl PartialEq for SnapshotContextFrame
impl StructuralPartialEq for SnapshotContextFrame
Auto Trait Implementations§
impl Freeze for SnapshotContextFrame
impl RefUnwindSafe for SnapshotContextFrame
impl Send for SnapshotContextFrame
impl Sync for SnapshotContextFrame
impl Unpin for SnapshotContextFrame
impl UnsafeUnpin for SnapshotContextFrame
impl UnwindSafe for SnapshotContextFrame
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