pub struct PrometheusRemoteRead {Show 15 fields
    pub authorization: Option<PrometheusRemoteReadAuthorization>,
    pub basic_auth: Option<PrometheusRemoteReadBasicAuth>,
    pub bearer_token: Option<String>,
    pub bearer_token_file: Option<String>,
    pub filter_external_labels: Option<bool>,
    pub follow_redirects: Option<bool>,
    pub headers: Option<BTreeMap<String, String>>,
    pub name: Option<String>,
    pub oauth2: Option<PrometheusRemoteReadOauth2>,
    pub proxy_url: Option<String>,
    pub read_recent: Option<bool>,
    pub remote_timeout: Option<String>,
    pub required_matchers: Option<BTreeMap<String, String>>,
    pub tls_config: Option<PrometheusRemoteReadTlsConfig>,
    pub url: String,
}Fields§
§basic_auth: Option<PrometheusRemoteReadBasicAuth>§bearer_token: Option<String>§bearer_token_file: Option<String>§filter_external_labels: Option<bool>§follow_redirects: Option<bool>§headers: Option<BTreeMap<String, String>>§name: Option<String>§oauth2: Option<PrometheusRemoteReadOauth2>§proxy_url: Option<String>§read_recent: Option<bool>§remote_timeout: Option<String>§required_matchers: Option<BTreeMap<String, String>>§tls_config: Option<PrometheusRemoteReadTlsConfig>§url: StringTrait Implementations§
Source§impl Clone for PrometheusRemoteRead
 
impl Clone for PrometheusRemoteRead
Source§fn clone(&self) -> PrometheusRemoteRead
 
fn clone(&self) -> PrometheusRemoteRead
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 PrometheusRemoteRead
 
impl Debug for PrometheusRemoteRead
Source§impl Default for PrometheusRemoteRead
 
impl Default for PrometheusRemoteRead
Source§fn default() -> PrometheusRemoteRead
 
fn default() -> PrometheusRemoteRead
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PrometheusRemoteRead
 
impl<'de> Deserialize<'de> for PrometheusRemoteRead
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 PrometheusRemoteRead
impl RefUnwindSafe for PrometheusRemoteRead
impl Send for PrometheusRemoteRead
impl Sync for PrometheusRemoteRead
impl Unpin for PrometheusRemoteRead
impl UnwindSafe for PrometheusRemoteRead
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