pub struct SnapshotRequest {
pub agent_id: AgentId,
pub tenant: String,
pub label: Option<String>,
pub redact_secrets: bool,
pub encrypt: Option<EncryptionKey>,
pub created_by: String,
}Fields§
§agent_id: AgentId§tenant: String§label: Option<String>§redact_secrets: boolWhen true, secret-guard scanner runs over the staged bundle
before packing and the manifest carries a RedactionReport.
encrypt: Option<EncryptionKey>§created_by: StringFree-form provenance string surfaced in the manifest’s
created_by column. Caller picks the value (cli, tool,
auto-pre-restore, …); no validation here.
Implementations§
Trait Implementations§
Source§impl Clone for SnapshotRequest
impl Clone for SnapshotRequest
Source§fn clone(&self) -> SnapshotRequest
fn clone(&self) -> SnapshotRequest
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 moreAuto Trait Implementations§
impl Freeze for SnapshotRequest
impl RefUnwindSafe for SnapshotRequest
impl Send for SnapshotRequest
impl Sync for SnapshotRequest
impl Unpin for SnapshotRequest
impl UnsafeUnpin for SnapshotRequest
impl UnwindSafe for SnapshotRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more