Enum gitlab_runner_mock::MockJobState
source · [−]pub enum MockJobState {
Pending,
Running,
Success,
Failed,
Cancelled,
}
Variants
Pending
Running
Success
Failed
Cancelled
Implementations
sourceimpl MockJobState
impl MockJobState
Trait Implementations
sourceimpl Clone for MockJobState
impl Clone for MockJobState
sourcefn clone(&self) -> MockJobState
fn clone(&self) -> MockJobState
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for MockJobState
impl Debug for MockJobState
sourceimpl<'de> Deserialize<'de> for MockJobState
impl<'de> Deserialize<'de> for MockJobState
sourcefn 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
sourceimpl PartialEq<MockJobState> for MockJobState
impl PartialEq<MockJobState> for MockJobState
sourcefn eq(&self, other: &MockJobState) -> bool
fn eq(&self, other: &MockJobState) -> bool
sourceimpl 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
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,
sourceimpl<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,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.