pub enum FileAction {
Installed,
Updated,
AlreadyPresent,
}Expand description
Action taken for one asset during apply.
Variants§
Installed
The asset was created.
Updated
The asset existed and was rewritten with new content.
AlreadyPresent
The asset matched the rendered template; no write was needed.
Trait Implementations§
Source§impl Clone for FileAction
impl Clone for FileAction
Source§fn clone(&self) -> FileAction
fn clone(&self) -> FileAction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FileAction
impl Debug for FileAction
Source§impl PartialEq for FileAction
impl PartialEq for FileAction
Source§fn eq(&self, other: &FileAction) -> bool
fn eq(&self, other: &FileAction) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for FileAction
impl Eq for FileAction
impl StructuralPartialEq for FileAction
Auto Trait Implementations§
impl Freeze for FileAction
impl RefUnwindSafe for FileAction
impl Send for FileAction
impl Sync for FileAction
impl Unpin for FileAction
impl UnsafeUnpin for FileAction
impl UnwindSafe for FileAction
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.