pub struct StatusCode(/* private fields */);Expand description
An open result-status code shared by planner and later workflow result models.
Implementations§
Source§impl StatusCode
impl StatusCode
Source§impl StatusCode
impl StatusCode
pub const PLANNED: &'static str = "PLANNED"
pub const PREVIEW: &'static str = "PREVIEW"
pub const BLOCKED: &'static str = "BLOCKED"
pub const CONFLICT: &'static str = "CONFLICT"
pub const EVALUATED: &'static str = "EVALUATED"
pub const NO_CHANGE: &'static str = "NO_CHANGE"
pub const NOT_FOUND: &'static str = "NOT_FOUND"
pub const NOT_SUPPORTED: &'static str = "NOT_SUPPORTED"
pub const SOURCE_UNAVAILABLE: &'static str = "SOURCE_UNAVAILABLE"
pub const STALE_GRAPH: &'static str = "STALE_GRAPH"
pub const INVALID_PLAN: &'static str = "INVALID_PLAN"
pub const PREVIEW_OK: &'static str = "PREVIEW_OK"
pub const PREVIEW_BLOCKED: &'static str = "PREVIEW_BLOCKED"
pub const APPLIED: &'static str = "APPLIED"
pub const STALE: &'static str = "STALE"
pub const REPO_BUSY: &'static str = "REPO_BUSY"
pub const ROLLED_BACK: &'static str = "ROLLED_BACK"
pub const ROLLBACK_INCOMPLETE: &'static str = "ROLLBACK_INCOMPLETE"
Trait Implementations§
Source§impl AsRef<str> for StatusCode
impl AsRef<str> for StatusCode
Source§impl Clone for StatusCode
impl Clone for StatusCode
Source§fn clone(&self) -> StatusCode
fn clone(&self) -> StatusCode
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 StatusCode
impl Debug for StatusCode
Source§impl<'de> Deserialize<'de> for StatusCode
impl<'de> Deserialize<'de> for StatusCode
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
Source§impl Display for StatusCode
impl Display for StatusCode
impl Eq for StatusCode
Source§impl From<&str> for StatusCode
impl From<&str> for StatusCode
Source§impl From<String> for StatusCode
impl From<String> for StatusCode
Source§impl Hash for StatusCode
impl Hash for StatusCode
Source§impl Ord for StatusCode
impl Ord for StatusCode
Source§fn cmp(&self, other: &StatusCode) -> Ordering
fn cmp(&self, other: &StatusCode) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for StatusCode
impl PartialEq for StatusCode
Source§impl PartialOrd for StatusCode
impl PartialOrd for StatusCode
Source§impl Serialize for StatusCode
impl Serialize for StatusCode
impl StructuralPartialEq for StatusCode
Auto Trait Implementations§
impl Freeze for StatusCode
impl RefUnwindSafe for StatusCode
impl Send for StatusCode
impl Sync for StatusCode
impl Unpin for StatusCode
impl UnsafeUnpin for StatusCode
impl UnwindSafe for StatusCode
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