pub struct Prometheus {
pub jmx_exporter: Option<JmxExporter>,
pub node_exporter: Option<NodeExporter>,
}Expand description
<p>Prometheus settings.</p>
Fields§
§jmx_exporter: Option<JmxExporter> <p>Indicates whether you want to enable or disable the JMX Exporter.</p>
node_exporter: Option<NodeExporter> <p>Indicates whether you want to enable or disable the Node Exporter.</p>
Trait Implementations§
Source§impl Clone for Prometheus
impl Clone for Prometheus
Source§fn clone(&self) -> Prometheus
fn clone(&self) -> Prometheus
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 Prometheus
impl Debug for Prometheus
Source§impl Default for Prometheus
impl Default for Prometheus
Source§fn default() -> Prometheus
fn default() -> Prometheus
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Prometheus
impl<'de> Deserialize<'de> for Prometheus
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 Prometheus
impl PartialEq for Prometheus
impl StructuralPartialEq for Prometheus
Auto Trait Implementations§
impl Freeze for Prometheus
impl RefUnwindSafe for Prometheus
impl Send for Prometheus
impl Sync for Prometheus
impl Unpin for Prometheus
impl UnwindSafe for Prometheus
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