pub struct PodMonitorNamespaceSelector {
pub any: Option<bool>,
pub match_names: Option<Vec<String>>,
}Fields§
§any: Option<bool>Boolean describing whether all namespaces are selected in contrast to a list restricting them.
match_names: Option<Vec<String>>List of namespace names to select from.
Trait Implementations§
Source§impl Clone for PodMonitorNamespaceSelector
impl Clone for PodMonitorNamespaceSelector
Source§fn clone(&self) -> PodMonitorNamespaceSelector
fn clone(&self) -> PodMonitorNamespaceSelector
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PodMonitorNamespaceSelector
impl Debug for PodMonitorNamespaceSelector
Source§impl<'de> Deserialize<'de> for PodMonitorNamespaceSelector
impl<'de> Deserialize<'de> for PodMonitorNamespaceSelector
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
Auto Trait Implementations§
impl Freeze for PodMonitorNamespaceSelector
impl RefUnwindSafe for PodMonitorNamespaceSelector
impl Send for PodMonitorNamespaceSelector
impl Sync for PodMonitorNamespaceSelector
impl Unpin for PodMonitorNamespaceSelector
impl UnsafeUnpin for PodMonitorNamespaceSelector
impl UnwindSafe for PodMonitorNamespaceSelector
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