pub struct ConfigSetParams {
pub scope: Option<Scope>,
pub entries: Vec<ConfigEntry>,
pub dry_run: bool,
}Expand description
Parameters of config.set: a batch, applied whole or not at all.
Fields§
§scope: Option<Scope>The scope to write; None writes each key to its home scope.
entries: Vec<ConfigEntry>The changes.
dry_run: boolCheck the batch, validators included, and write nothing.
Trait Implementations§
Source§impl Clone for ConfigSetParams
impl Clone for ConfigSetParams
Source§impl Debug for ConfigSetParams
impl Debug for ConfigSetParams
Source§impl<'de> Deserialize<'de> for ConfigSetParams
impl<'de> Deserialize<'de> for ConfigSetParams
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
Source§impl PartialEq for ConfigSetParams
impl PartialEq for ConfigSetParams
Source§impl Serialize for ConfigSetParams
impl Serialize for ConfigSetParams
impl StructuralPartialEq for ConfigSetParams
Auto Trait Implementations§
impl Freeze for ConfigSetParams
impl RefUnwindSafe for ConfigSetParams
impl Send for ConfigSetParams
impl Sync for ConfigSetParams
impl Unpin for ConfigSetParams
impl UnsafeUnpin for ConfigSetParams
impl UnwindSafe for ConfigSetParams
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