pub struct PutParameters {
pub api: Option<String>,
pub data: Option<String>,
pub delete: Option<String>,
pub digest: Option<String>,
pub disable: Option<bool>,
pub nodes: Option<String>,
pub validation_delay: Option<u64>,
}Fields§
§api: Option<String>API plugin name
data: Option<String>DNS plugin data. (base64 encoded)
delete: Option<String>A list of settings you want to delete.
digest: Option<String>Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.
disable: Option<bool>Flag to disable the config.
nodes: Option<String>List of cluster node names.
validation_delay: Option<u64>Extra delay in seconds to wait before requesting validation. Allows to cope with a long TTL of DNS records.
Trait Implementations§
Source§impl Clone for PutParameters
impl Clone for PutParameters
Source§fn clone(&self) -> PutParameters
fn clone(&self) -> PutParameters
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 PutParameters
impl Debug for PutParameters
Source§impl Default for PutParameters
impl Default for PutParameters
Source§fn default() -> PutParameters
fn default() -> PutParameters
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PutParameters
impl<'de> Deserialize<'de> for PutParameters
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 PutParameters
impl PartialEq for PutParameters
Source§impl Serialize for PutParameters
impl Serialize for PutParameters
impl StructuralPartialEq for PutParameters
Auto Trait Implementations§
impl Freeze for PutParameters
impl RefUnwindSafe for PutParameters
impl Send for PutParameters
impl Sync for PutParameters
impl Unpin for PutParameters
impl UnwindSafe for PutParameters
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