pub enum ProjectAction {
Create,
Skip,
Import,
Record,
}Expand description
What a deploy would do to the named project.
Variants§
Create
The project is absent from the gateway and would be created (D-13).
Skip
The live project equals the artifact; nothing would change.
Import
The live project differs from the artifact and would be overwritten.
Record
The live project already equals the artifact, but the release record is absent (the git module’s handover, D-12) or names another release: only the record is written, the project is not touched (K14).
Implementations§
Source§impl ProjectAction
impl ProjectAction
Sourcepub fn would_change(self) -> bool
pub fn would_change(self) -> bool
Whether the action changes the gateway side: create, import and
record do (the last one writes the release record, K14).
Trait Implementations§
Source§impl Clone for ProjectAction
impl Clone for ProjectAction
impl Copy for ProjectAction
Source§impl Debug for ProjectAction
impl Debug for ProjectAction
impl Eq for ProjectAction
Source§impl PartialEq for ProjectAction
impl PartialEq for ProjectAction
Source§impl Serialize for ProjectAction
impl Serialize for ProjectAction
impl StructuralPartialEq for ProjectAction
Auto Trait Implementations§
impl Freeze for ProjectAction
impl RefUnwindSafe for ProjectAction
impl Send for ProjectAction
impl Sync for ProjectAction
impl Unpin for ProjectAction
impl UnsafeUnpin for ProjectAction
impl UnwindSafe for ProjectAction
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.