pub struct CreationEvidence { /* private fields */ }Expand description
Optional runtime creation-command evidence.
Arguments are sensitive by default and never override contradictory effective inspection fields. The evidence can contribute provenance without being present at all.
Implementations§
Source§impl CreationEvidence
impl CreationEvidence
Sourcepub fn new<I, S>(source_id: SourceId, arguments: I) -> Self
pub fn new<I, S>(source_id: SourceId, arguments: I) -> Self
Creates optional evidence with sensitive command arguments.
Sourcepub const fn source_id(&self) -> &SourceId
pub const fn source_id(&self) -> &SourceId
Returns the stable, caller-redacted evidence identity.
Sourcepub fn arguments(&self) -> &[ProtectedString]
pub fn arguments(&self) -> &[ProtectedString]
Returns the protected creation arguments.
Trait Implementations§
Source§impl Clone for CreationEvidence
impl Clone for CreationEvidence
Source§fn clone(&self) -> CreationEvidence
fn clone(&self) -> CreationEvidence
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CreationEvidence
impl Debug for CreationEvidence
impl Eq for CreationEvidence
Source§impl PartialEq for CreationEvidence
impl PartialEq for CreationEvidence
impl StructuralPartialEq for CreationEvidence
Auto Trait Implementations§
impl Freeze for CreationEvidence
impl RefUnwindSafe for CreationEvidence
impl Send for CreationEvidence
impl Sync for CreationEvidence
impl Unpin for CreationEvidence
impl UnsafeUnpin for CreationEvidence
impl UnwindSafe for CreationEvidence
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