pub struct ConfigUpdateRequest {
pub async_: Option<bool>,
pub group: Option<String>,
pub name: Option<String>,
pub opt: Option<String>,
pub parameters: Option<String>,
}Expand description
ConfigUpdateRequest
JSON schema
{
"type": "object",
"properties": {
"_async": {
"description": "Run the command asynchronously. Returns a job id
immediately.",
"type": "boolean"
},
"_group": {
"description": "Assign the request to a custom stats group.",
"type": "string"
},
"name": {
"description": "Name of the remote configuration to update.",
"type": "string"
},
"opt": {
"description": "Optional JSON object controlling update behaviour
(e.g. `obscure`, `continue`).",
"type": "string"
},
"parameters": {
"description": "JSON object of configuration key/value pairs to
apply to the remote.",
"type": "string"
}
}
}Fields§
§async_: Option<bool>Run the command asynchronously. Returns a job id immediately.
group: Option<String>Assign the request to a custom stats group.
name: Option<String>Name of the remote configuration to update.
opt: Option<String>Optional JSON object controlling update behaviour (e.g. obscure,
continue).
parameters: Option<String>JSON object of configuration key/value pairs to apply to the remote.
Trait Implementations§
Source§impl Clone for ConfigUpdateRequest
impl Clone for ConfigUpdateRequest
Source§fn clone(&self) -> ConfigUpdateRequest
fn clone(&self) -> ConfigUpdateRequest
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 Debug for ConfigUpdateRequest
impl Debug for ConfigUpdateRequest
Source§impl Default for ConfigUpdateRequest
impl Default for ConfigUpdateRequest
Source§impl<'de> Deserialize<'de> for ConfigUpdateRequest
impl<'de> Deserialize<'de> for ConfigUpdateRequest
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 From<&ConfigUpdateRequest> for ConfigUpdateRequest
impl From<&ConfigUpdateRequest> for ConfigUpdateRequest
Source§fn from(value: &ConfigUpdateRequest) -> Self
fn from(value: &ConfigUpdateRequest) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ConfigUpdateRequest
impl RefUnwindSafe for ConfigUpdateRequest
impl Send for ConfigUpdateRequest
impl Sync for ConfigUpdateRequest
impl Unpin for ConfigUpdateRequest
impl UnsafeUnpin for ConfigUpdateRequest
impl UnwindSafe for ConfigUpdateRequest
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