pub struct SweepOptions {
pub keep: Vec<String>,
pub dry_run: bool,
}Expand description
Options for an explicitly scoped sweep. The default only discovers resources.
Fields§
§keep: Vec<String>Exact image names or ARNs whose images and VMs must survive.
dry_run: boolDiscover and report candidates without terminating VMs or deleting images.
Trait Implementations§
Source§impl Clone for SweepOptions
impl Clone for SweepOptions
Source§impl Debug for SweepOptions
impl Debug for SweepOptions
Auto Trait Implementations§
impl Freeze for SweepOptions
impl RefUnwindSafe for SweepOptions
impl Send for SweepOptions
impl Sync for SweepOptions
impl Unpin for SweepOptions
impl UnsafeUnpin for SweepOptions
impl UnwindSafe for SweepOptions
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