pub struct PodMonitorAttachMetadata {
pub node: Option<bool>,
}Fields§
§node: Option<bool>When set to true, Prometheus attaches node metadata to the discovered targets.
The Prometheus service account must have the list and watch
permissions on the Nodes objects.
Trait Implementations§
Source§impl Clone for PodMonitorAttachMetadata
impl Clone for PodMonitorAttachMetadata
Source§fn clone(&self) -> PodMonitorAttachMetadata
fn clone(&self) -> PodMonitorAttachMetadata
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 PodMonitorAttachMetadata
impl Debug for PodMonitorAttachMetadata
Source§impl<'de> Deserialize<'de> for PodMonitorAttachMetadata
impl<'de> Deserialize<'de> for PodMonitorAttachMetadata
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 PodMonitorAttachMetadata
impl RefUnwindSafe for PodMonitorAttachMetadata
impl Send for PodMonitorAttachMetadata
impl Sync for PodMonitorAttachMetadata
impl Unpin for PodMonitorAttachMetadata
impl UnsafeUnpin for PodMonitorAttachMetadata
impl UnwindSafe for PodMonitorAttachMetadata
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