pub enum Action {
Seed {
destination: Utf8PathBuf,
bytes: Vec<u8>,
},
Append {
destination: Utf8PathBuf,
block: String,
rewritten: String,
},
Checklist {
destination: Utf8PathBuf,
block: String,
},
}Expand description
What one reconciliation would do.
Variants§
Seed
The owning specification is absent: write the seed.
Append
The owning specification is present and recognized: append the rule block to its Requirements section.
Fields
§
destination: Utf8PathBufThe file.
Checklist
The owning specification is present and not in a recognized shape: print the block and write nothing.
Trait Implementations§
impl Eq for Action
impl StructuralPartialEq for Action
Auto Trait Implementations§
impl Freeze for Action
impl RefUnwindSafe for Action
impl Send for Action
impl Sync for Action
impl Unpin for Action
impl UnsafeUnpin for Action
impl UnwindSafe for Action
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.