pub struct ConfigMetricsCreateInfluxdbHttpRequest {
pub bucket: Option<String>,
pub comment: Option<String>,
pub enable: Option<bool>,
pub max_body_size: Option<i64>,
pub name: String,
pub organization: Option<String>,
pub token: Option<String>,
pub url: String,
pub verify_tls: Option<bool>,
}Fields§
§bucket: Option<String>InfluxDB Bucket.
comment: Option<String>Comment.
enable: Option<bool>Enables or disables the metrics server
max_body_size: Option<i64>The (optional) maximum body size
name: StringMetrics Server ID.
organization: Option<String>InfluxDB Organization.
token: Option<String>The (optional) API token
url: StringHTTP(s) url with optional port.
verify_tls: Option<bool>If true, the certificate will be validated.
Implementations§
Source§impl ConfigMetricsCreateInfluxdbHttpRequest
impl ConfigMetricsCreateInfluxdbHttpRequest
pub fn new(name: String, url: String) -> ConfigMetricsCreateInfluxdbHttpRequest
Trait Implementations§
Source§impl Clone for ConfigMetricsCreateInfluxdbHttpRequest
impl Clone for ConfigMetricsCreateInfluxdbHttpRequest
Source§fn clone(&self) -> ConfigMetricsCreateInfluxdbHttpRequest
fn clone(&self) -> ConfigMetricsCreateInfluxdbHttpRequest
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 Default for ConfigMetricsCreateInfluxdbHttpRequest
impl Default for ConfigMetricsCreateInfluxdbHttpRequest
Source§fn default() -> ConfigMetricsCreateInfluxdbHttpRequest
fn default() -> ConfigMetricsCreateInfluxdbHttpRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ConfigMetricsCreateInfluxdbHttpRequest
impl<'de> Deserialize<'de> for ConfigMetricsCreateInfluxdbHttpRequest
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 ConfigMetricsCreateInfluxdbHttpRequest
impl PartialEq for ConfigMetricsCreateInfluxdbHttpRequest
Source§fn eq(&self, other: &ConfigMetricsCreateInfluxdbHttpRequest) -> bool
fn eq(&self, other: &ConfigMetricsCreateInfluxdbHttpRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ConfigMetricsCreateInfluxdbHttpRequest
Auto Trait Implementations§
impl Freeze for ConfigMetricsCreateInfluxdbHttpRequest
impl RefUnwindSafe for ConfigMetricsCreateInfluxdbHttpRequest
impl Send for ConfigMetricsCreateInfluxdbHttpRequest
impl Sync for ConfigMetricsCreateInfluxdbHttpRequest
impl Unpin for ConfigMetricsCreateInfluxdbHttpRequest
impl UnsafeUnpin for ConfigMetricsCreateInfluxdbHttpRequest
impl UnwindSafe for ConfigMetricsCreateInfluxdbHttpRequest
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