pub struct ConfigUnsetParams {
pub scope: Option<Scope>,
pub keys: Vec<String>,
pub dry_run: bool,
}Expand description
Parameters of config.unset.
Fields§
§scope: Option<Scope>The scope to remove from; None removes each key from its home scope.
keys: Vec<String>The keys, or prefixes of several keys.
dry_run: boolCheck the batch, validators included, and write nothing.
Trait Implementations§
Source§impl Clone for ConfigUnsetParams
impl Clone for ConfigUnsetParams
Source§impl Debug for ConfigUnsetParams
impl Debug for ConfigUnsetParams
Source§impl<'de> Deserialize<'de> for ConfigUnsetParams
impl<'de> Deserialize<'de> for ConfigUnsetParams
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ConfigUnsetParams
Source§impl PartialEq for ConfigUnsetParams
impl PartialEq for ConfigUnsetParams
Source§impl Serialize for ConfigUnsetParams
impl Serialize for ConfigUnsetParams
impl StructuralPartialEq for ConfigUnsetParams
Auto Trait Implementations§
impl Freeze for ConfigUnsetParams
impl RefUnwindSafe for ConfigUnsetParams
impl Send for ConfigUnsetParams
impl Sync for ConfigUnsetParams
impl Unpin for ConfigUnsetParams
impl UnsafeUnpin for ConfigUnsetParams
impl UnwindSafe for ConfigUnsetParams
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