pub enum OpKind {
TomlSet {
toml_path: Vec<String>,
value: Value,
},
TomlRemove {
toml_path: Vec<String>,
},
JsonSet {
json_path: Vec<String>,
value: Value,
},
JsonRemove {
json_path: Vec<String>,
},
YamlSet {
yaml_path: Vec<String>,
value: Value,
},
YamlRemove {
yaml_path: Vec<String>,
},
TomlTransform {
rule_id: String,
args: Option<Value>,
},
TextReplaceAnchored {
find: String,
replace: String,
anchor_before: Vec<String>,
anchor_after: Vec<String>,
max_replacements: Option<u64>,
},
}Expand description
Operation kind for plan ops.
Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for OpKind
impl<'de> Deserialize<'de> for OpKind
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
Auto Trait Implementations§
impl Freeze for OpKind
impl RefUnwindSafe for OpKind
impl Send for OpKind
impl Sync for OpKind
impl Unpin for OpKind
impl UnsafeUnpin for OpKind
impl UnwindSafe for OpKind
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