Enum gitlab_runner_mock::MockJobState
source · pub enum MockJobState {
Pending,
Running,
Success,
Failed,
Cancelled,
}
Variants§
Implementations§
Trait Implementations§
source§impl Clone for MockJobState
impl Clone for MockJobState
source§fn clone(&self) -> MockJobState
fn clone(&self) -> MockJobState
Returns a copy 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 MockJobState
impl Debug for MockJobState
source§impl<'de> Deserialize<'de> for MockJobState
impl<'de> Deserialize<'de> for MockJobState
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 PartialEq<MockJobState> for MockJobState
impl PartialEq<MockJobState> for MockJobState
source§fn eq(&self, other: &MockJobState) -> bool
fn eq(&self, other: &MockJobState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl ToString for MockJobState
impl ToString for MockJobState
impl Copy for MockJobState
impl Eq for MockJobState
impl StructuralEq for MockJobState
impl StructuralPartialEq for MockJobState
Auto Trait Implementations§
impl RefUnwindSafe for MockJobState
impl Send for MockJobState
impl Sync for MockJobState
impl Unpin for MockJobState
impl UnwindSafe for MockJobState
Blanket Implementations§
§impl<T> CloneAny for Twhere
T: Any + Clone,
impl<T> CloneAny for Twhere
T: Any + Clone,
fn clone_any(&self) -> Box<dyn CloneAny + 'static, Global>
fn clone_any_send(&self) -> Box<dyn CloneAny + Send + 'static, Global>where
T: Send,
fn clone_any_sync(&self) -> Box<dyn CloneAny + Sync + 'static, Global>where
T: Sync,
fn clone_any_send_sync(
&self
) -> Box<dyn CloneAny + Send + Sync + 'static, Global>where
T: Send + Sync,
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.