pub struct SemaphoreRef {
pub config_map_key_ref: Option<Box<ConfigMapKeySelector>>,
pub namespace: Option<String>,
}Expand description
SemaphoreRef is a reference of Semaphore.
Fields§
§config_map_key_ref: Option<Box<ConfigMapKeySelector>>§namespace: Option<String>Namespace is the namespace of the configmap, default: [namespace of workflow].
Implementations§
Source§impl SemaphoreRef
impl SemaphoreRef
Trait Implementations§
Source§impl Clone for SemaphoreRef
impl Clone for SemaphoreRef
Source§fn clone(&self) -> SemaphoreRef
fn clone(&self) -> SemaphoreRef
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 SemaphoreRef
impl Debug for SemaphoreRef
Source§impl Default for SemaphoreRef
impl Default for SemaphoreRef
Source§fn default() -> SemaphoreRef
fn default() -> SemaphoreRef
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SemaphoreRef
impl<'de> Deserialize<'de> for SemaphoreRef
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 for SemaphoreRef
impl PartialEq for SemaphoreRef
Source§impl Serialize for SemaphoreRef
impl Serialize for SemaphoreRef
impl StructuralPartialEq for SemaphoreRef
Auto Trait Implementations§
impl Freeze for SemaphoreRef
impl RefUnwindSafe for SemaphoreRef
impl Send for SemaphoreRef
impl Sync for SemaphoreRef
impl Unpin for SemaphoreRef
impl UnwindSafe for SemaphoreRef
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