pub struct PrometheusRemoteWrite {Show 17 fields
    pub authorization: Option<PrometheusRemoteWriteAuthorization>,
    pub basic_auth: Option<PrometheusRemoteWriteBasicAuth>,
    pub bearer_token: Option<String>,
    pub bearer_token_file: Option<String>,
    pub headers: Option<BTreeMap<String, String>>,
    pub metadata_config: Option<PrometheusRemoteWriteMetadataConfig>,
    pub name: Option<String>,
    pub oauth2: Option<PrometheusRemoteWriteOauth2>,
    pub proxy_url: Option<String>,
    pub queue_config: Option<PrometheusRemoteWriteQueueConfig>,
    pub remote_timeout: Option<String>,
    pub send_exemplars: Option<bool>,
    pub send_native_histograms: Option<bool>,
    pub sigv4: Option<PrometheusRemoteWriteSigv4>,
    pub tls_config: Option<PrometheusRemoteWriteTlsConfig>,
    pub url: String,
    pub write_relabel_configs: Option<Vec<PrometheusRemoteWriteWriteRelabelConfigs>>,
}Fields§
§basic_auth: Option<PrometheusRemoteWriteBasicAuth>§bearer_token: Option<String>§bearer_token_file: Option<String>§headers: Option<BTreeMap<String, String>>§metadata_config: Option<PrometheusRemoteWriteMetadataConfig>§name: Option<String>§oauth2: Option<PrometheusRemoteWriteOauth2>§proxy_url: Option<String>§queue_config: Option<PrometheusRemoteWriteQueueConfig>§remote_timeout: Option<String>§send_exemplars: Option<bool>§send_native_histograms: Option<bool>§sigv4: Option<PrometheusRemoteWriteSigv4>§tls_config: Option<PrometheusRemoteWriteTlsConfig>§url: String§write_relabel_configs: Option<Vec<PrometheusRemoteWriteWriteRelabelConfigs>>Trait Implementations§
Source§impl Clone for PrometheusRemoteWrite
 
impl Clone for PrometheusRemoteWrite
Source§fn clone(&self) -> PrometheusRemoteWrite
 
fn clone(&self) -> PrometheusRemoteWrite
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 PrometheusRemoteWrite
 
impl Debug for PrometheusRemoteWrite
Source§impl Default for PrometheusRemoteWrite
 
impl Default for PrometheusRemoteWrite
Source§fn default() -> PrometheusRemoteWrite
 
fn default() -> PrometheusRemoteWrite
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PrometheusRemoteWrite
 
impl<'de> Deserialize<'de> for PrometheusRemoteWrite
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 JsonSchema for PrometheusRemoteWrite
 
impl JsonSchema for PrometheusRemoteWrite
Source§fn schema_name() -> String
 
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn schema_id() -> Cow<'static, str>
 
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
 
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn is_referenceable() -> bool
 
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the 
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for PrometheusRemoteWrite
impl RefUnwindSafe for PrometheusRemoteWrite
impl Send for PrometheusRemoteWrite
impl Sync for PrometheusRemoteWrite
impl Unpin for PrometheusRemoteWrite
impl UnwindSafe for PrometheusRemoteWrite
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
Source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
Source§impl<T> Instrument for T
 
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
 
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
 
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
 
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
 
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
 
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more