pub struct GuardOptions {
pub dry_run: bool,
pub non_interactive: bool,
pub row_counts: HashMap<String, u64>,
pub config: Config,
}Expand description
Options for run_guard.
Fields§
§dry_run: boolPrint impact panel but do not prompt. Exit code reflects risk.
non_interactive: boolSkip interactive prompts (used in CI; blocks on dangerous ops).
row_counts: HashMap<String, u64>Table row estimates for offline scoring.
config: ConfigConfiguration (thresholds, audit log path, etc.).
Trait Implementations§
Source§impl Default for GuardOptions
impl Default for GuardOptions
Source§fn default() -> GuardOptions
fn default() -> GuardOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GuardOptions
impl RefUnwindSafe for GuardOptions
impl Send for GuardOptions
impl Sync for GuardOptions
impl Unpin for GuardOptions
impl UnsafeUnpin for GuardOptions
impl UnwindSafe for GuardOptions
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> 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