pub struct PlanOptions {
pub clients: Option<Vec<String>>,
pub on_conflict: OnConflict,
pub decisions: Vec<Decision>,
pub scope: ScopeFilter,
pub projects: ProjectSelection,
pub targets: Option<Vec<TargetFilter>>,
pub servers: Option<Vec<String>>,
pub entries: Option<Vec<EntryFilter>>,
}Expand description
Inputs that select and steer a plan.
Fields§
§clients: Option<Vec<String>>Only these clients; all when None.
on_conflict: OnConflict§decisions: Vec<Decision>Per-entry resolutions; they win over PlanOptions::on_conflict.
scope: ScopeFilter§projects: ProjectSelection§targets: Option<Vec<TargetFilter>>Only these target files (within the other filters); all when
None.
servers: Option<Vec<String>>Only the targets these store servers touch (within the other
filters): those that hold or own entries of them, and those of
project entries that start from them (from); all when None. The
instant apply of a server change plans these (#15).
entries: Option<Vec<EntryFilter>>Only these entries are acted on; every other entry of the planned
targets, and every list member, is held as it is (surject migrate loadout repairs launchers without applying anything else).
Trait Implementations§
Source§impl Clone for PlanOptions
impl Clone for PlanOptions
Source§impl Debug for PlanOptions
impl Debug for PlanOptions
Auto Trait Implementations§
impl Forget for PlanOptions
impl Freeze for PlanOptionswhere
*const u8 is !null: Freeze,
PhantomData<String>: Freeze,
PhantomData<Decision>: Freeze,
PhantomData<u8>: Freeze,
PhantomData<TargetFilter>: Freeze,
PhantomData<EntryFilter>: Freeze,
impl Move for PlanOptions
impl RefUnwindSafe for PlanOptions
impl Send for PlanOptionswhere
RawVecInner: Send,
impl Sync for PlanOptionswhere
RawVecInner: Sync,
impl Unpin for PlanOptions
impl UnsafeUnpin for PlanOptionswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<Decision>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<TargetFilter>: UnsafeUnpin,
PhantomData<EntryFilter>: UnsafeUnpin,
impl UnwindSafe for PlanOptionswhere
RawVecInner: UnwindSafe,
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