Struct sk_api::prometheus::PrometheusRemoteRead
source · 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 copy 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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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