#[repr(C)]pub enum BuildStatusType {
REJECTED = 0,
WHITELISTED = 1,
PENDING = 2,
}
Expand description
Status string for the image.
Enumeration of values.
Since this enum’s variants do not hold data, we can easily define them them as #[repr(C)]
which helps with FFI.
Variants§
Trait Implementations§
Source§impl Clone for BuildStatusType
impl Clone for BuildStatusType
Source§fn clone(&self) -> BuildStatusType
fn clone(&self) -> BuildStatusType
Returns a duplicate of the value. Read more
1.0.0 · 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 BuildStatusType
impl Debug for BuildStatusType
Source§impl<'de> Deserialize<'de> for BuildStatusType
impl<'de> Deserialize<'de> for BuildStatusType
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 BuildStatusType
impl Display for BuildStatusType
Source§impl FromStr for BuildStatusType
impl FromStr for BuildStatusType
Source§impl Ord for BuildStatusType
impl Ord for BuildStatusType
Source§fn cmp(&self, other: &BuildStatusType) -> Ordering
fn cmp(&self, other: &BuildStatusType) -> Ordering
1.21.0 · 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 BuildStatusType
impl PartialEq for BuildStatusType
Source§impl PartialOrd for BuildStatusType
impl PartialOrd for BuildStatusType
Source§impl Serialize for BuildStatusType
impl Serialize for BuildStatusType
impl Copy for BuildStatusType
impl Eq for BuildStatusType
impl StructuralPartialEq for BuildStatusType
Auto Trait Implementations§
impl Freeze for BuildStatusType
impl RefUnwindSafe for BuildStatusType
impl Send for BuildStatusType
impl Sync for BuildStatusType
impl Unpin for BuildStatusType
impl UnwindSafe for BuildStatusType
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