pub enum ApplicationChange {
FileModified {
path: PathBuf,
new_hash: String,
},
ArtifactInvalidated {
artifact_id: String,
},
GitStateChanged {
new_state: GitState,
},
ResourceCreated {
resource_id: String,
},
ResourceDeleted {
resource_id: String,
},
}Expand description
Types of application state changes
Variants§
FileModified
A file was modified.
ArtifactInvalidated
A build artifact was invalidated.
GitStateChanged
Git repository state changed.
ResourceCreated
A new resource was created.
ResourceDeleted
A resource was deleted.
Trait Implementations§
Source§impl Clone for ApplicationChange
impl Clone for ApplicationChange
Source§fn clone(&self) -> ApplicationChange
fn clone(&self) -> ApplicationChange
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 moreAuto Trait Implementations§
impl Freeze for ApplicationChange
impl RefUnwindSafe for ApplicationChange
impl Send for ApplicationChange
impl Sync for ApplicationChange
impl Unpin for ApplicationChange
impl UnsafeUnpin for ApplicationChange
impl UnwindSafe for ApplicationChange
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