pub enum BuildState {
Scheduled,
Running,
Failing,
Passed,
Failed,
Canceling,
Canceled,
}Expand description
The rolled-up build state.
JSON schema
{
"description": "The rolled-up build state.",
"type": "string",
"enum": [
"scheduled",
"running",
"failing",
"passed",
"failed",
"canceling",
"canceled"
]
}Variants§
Trait Implementations§
Source§impl Clone for BuildState
impl Clone for BuildState
Source§fn clone(&self) -> BuildState
fn clone(&self) -> BuildState
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 moreimpl Copy for BuildState
Source§impl Debug for BuildState
impl Debug for BuildState
Source§impl<'de> Deserialize<'de> for BuildState
impl<'de> Deserialize<'de> for BuildState
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<BuildState, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<BuildState, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for BuildState
impl Display for BuildState
impl Eq for BuildState
Source§impl FromStr for BuildState
impl FromStr for BuildState
Source§type Err = ConversionError
type Err = ConversionError
The associated error which can be returned from parsing.
Source§fn from_str(value: &str) -> Result<BuildState, ConversionError>
fn from_str(value: &str) -> Result<BuildState, ConversionError>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for BuildState
impl Hash for BuildState
Source§impl Ord for BuildState
impl Ord for BuildState
Source§fn cmp(&self, other: &BuildState) -> Ordering
fn cmp(&self, other: &BuildState) -> 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 BuildState
impl PartialEq for BuildState
Source§fn eq(&self, other: &BuildState) -> bool
fn eq(&self, other: &BuildState) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for BuildState
impl PartialOrd for BuildState
Source§impl Serialize for BuildState
impl Serialize for BuildState
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for BuildState
Source§impl TryFrom<&String> for BuildState
impl TryFrom<&String> for BuildState
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: &String) -> Result<BuildState, ConversionError>
fn try_from(value: &String) -> Result<BuildState, ConversionError>
Performs the conversion.
Source§impl TryFrom<&str> for BuildState
impl TryFrom<&str> for BuildState
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: &str) -> Result<BuildState, ConversionError>
fn try_from(value: &str) -> Result<BuildState, ConversionError>
Performs the conversion.
Source§impl TryFrom<String> for BuildState
impl TryFrom<String> for BuildState
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: String) -> Result<BuildState, ConversionError>
fn try_from(value: String) -> Result<BuildState, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for BuildState
impl RefUnwindSafe for BuildState
impl Send for BuildState
impl Sync for BuildState
impl Unpin for BuildState
impl UnsafeUnpin for BuildState
impl UnwindSafe for BuildState
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