pub struct ConfigUnlockRequest {
pub async_: Option<bool>,
pub config_password: Option<String>,
pub group: Option<String>,
}Expand description
ConfigUnlockRequest
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"
},
"configPassword": {
"description": "Password used to unlock an encrypted config file.",
"type": "string"
}
}
}Fields§
§async_: Option<bool>Run the command asynchronously. Returns a job id immediately.
config_password: Option<String>Password used to unlock an encrypted config file.
group: Option<String>Assign the request to a custom stats group.
Trait Implementations§
Source§impl Clone for ConfigUnlockRequest
impl Clone for ConfigUnlockRequest
Source§fn clone(&self) -> ConfigUnlockRequest
fn clone(&self) -> ConfigUnlockRequest
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 ConfigUnlockRequest
impl Debug for ConfigUnlockRequest
Source§impl Default for ConfigUnlockRequest
impl Default for ConfigUnlockRequest
Source§impl<'de> Deserialize<'de> for ConfigUnlockRequest
impl<'de> Deserialize<'de> for ConfigUnlockRequest
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<&ConfigUnlockRequest> for ConfigUnlockRequest
impl From<&ConfigUnlockRequest> for ConfigUnlockRequest
Source§fn from(value: &ConfigUnlockRequest) -> Self
fn from(value: &ConfigUnlockRequest) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ConfigUnlockRequest
impl RefUnwindSafe for ConfigUnlockRequest
impl Send for ConfigUnlockRequest
impl Sync for ConfigUnlockRequest
impl Unpin for ConfigUnlockRequest
impl UnsafeUnpin for ConfigUnlockRequest
impl UnwindSafe for ConfigUnlockRequest
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