Enum hubcaps::rep::StatusState
[−]
pub enum StatusState { Pending, Success, Error, Failure, }
representation of deployment and commit status states
Variants
Pending
pending
Success
success
Error
error
Failure
failure
Trait Implementations
impl Clone for StatusState
[src]
fn clone(&self) -> StatusState
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for StatusState
[src]
impl PartialEq for StatusState
[src]
fn eq(&self, __arg_0: &StatusState) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Serialize for StatusState
fn serialize<S>(&self, serializer: &mut S) -> Result<(), S::Error> where S: Serializer
Serializes this value into this serializer.
impl Deserialize for StatusState
fn deserialize<D>(deserializer: &mut D) -> Result<StatusState, D::Error> where D: Deserializer
Deserialize this value given this Deserializer
.
impl AsRef<str> for StatusState
impl FromStr for StatusState
type Err = Error
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Self, Self::Err>
Parses a string s
to return a value of this type. Read more
impl Default for StatusState
[src]
fn default() -> StatusState
Returns the "default value" for a type. Read more