pub struct ApplyOptions {
pub sets: Vec<String>,
pub base_revision: Option<u64>,
pub operation_id: Option<String>,
pub confirmation: Confirmation,
}Expand description
Options for Session::config_apply.
Fields§
§sets: Vec<String>The --set path=value arguments; see parse_changes.
base_revision: Option<u64>The revision the change is based on; the node’s head revision when
None.
operation_id: Option<String>The operation ID; a random one is generated and printed when None.
confirmation: ConfirmationWhether to ask before applying.
Trait Implementations§
Source§impl Clone for ApplyOptions
impl Clone for ApplyOptions
Source§impl Debug for ApplyOptions
impl Debug for ApplyOptions
Auto Trait Implementations§
impl Forget for ApplyOptions
impl Freeze for ApplyOptions
impl Move for ApplyOptions
impl RefUnwindSafe for ApplyOptions
impl Send for ApplyOptionswhere
RawVecInner: Send,
impl Sync for ApplyOptionswhere
RawVecInner: Sync,
impl Unpin for ApplyOptions
impl UnsafeUnpin for ApplyOptionswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
impl UnwindSafe for ApplyOptionswhere
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