pub struct IoArgoprojWorkflowV1alpha1MutexHolding {
pub holder: Option<String>,
pub mutex: Option<String>,
}Expand description
MutexHolding describes the mutex and the object which is holding it.
Fields§
§holder: Option<String>Holder is a reference to the object which holds the Mutex. Holding Scenario:
- Current workflow’s NodeID which is holding the lock. e.g: ${NodeID} Waiting Scenario:
- Current workflow or other workflow NodeID which is holding the lock. e.g: ${WorkflowName}/${NodeID}
mutex: Option<String>Reference for the mutex e.g: ${namespace}/mutex/${mutexName}
Trait Implementations§
Source§impl Clone for IoArgoprojWorkflowV1alpha1MutexHolding
impl Clone for IoArgoprojWorkflowV1alpha1MutexHolding
Source§fn clone(&self) -> IoArgoprojWorkflowV1alpha1MutexHolding
fn clone(&self) -> IoArgoprojWorkflowV1alpha1MutexHolding
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<'de> Deserialize<'de> for IoArgoprojWorkflowV1alpha1MutexHolding
impl<'de> Deserialize<'de> for IoArgoprojWorkflowV1alpha1MutexHolding
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 From<&IoArgoprojWorkflowV1alpha1MutexHolding> for IoArgoprojWorkflowV1alpha1MutexHolding
impl From<&IoArgoprojWorkflowV1alpha1MutexHolding> for IoArgoprojWorkflowV1alpha1MutexHolding
Source§fn from(value: &IoArgoprojWorkflowV1alpha1MutexHolding) -> Self
fn from(value: &IoArgoprojWorkflowV1alpha1MutexHolding) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for IoArgoprojWorkflowV1alpha1MutexHolding
impl RefUnwindSafe for IoArgoprojWorkflowV1alpha1MutexHolding
impl Send for IoArgoprojWorkflowV1alpha1MutexHolding
impl Sync for IoArgoprojWorkflowV1alpha1MutexHolding
impl Unpin for IoArgoprojWorkflowV1alpha1MutexHolding
impl UnwindSafe for IoArgoprojWorkflowV1alpha1MutexHolding
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