pub struct ConfigPasswordRequest {
pub async_: Option<bool>,
pub group: Option<String>,
pub name: Option<String>,
pub parameters: Option<String>,
}Expand description
ConfigPasswordRequest
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 whose secrets should be
updated.",
"type": "string"
},
"parameters": {
"description": "JSON object of password answers, typically
including `pass`.",
"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 whose secrets should be updated.
parameters: Option<String>JSON object of password answers, typically including pass.
Trait Implementations§
Source§impl Clone for ConfigPasswordRequest
impl Clone for ConfigPasswordRequest
Source§fn clone(&self) -> ConfigPasswordRequest
fn clone(&self) -> ConfigPasswordRequest
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 ConfigPasswordRequest
impl Debug for ConfigPasswordRequest
Source§impl Default for ConfigPasswordRequest
impl Default for ConfigPasswordRequest
Source§impl<'de> Deserialize<'de> for ConfigPasswordRequest
impl<'de> Deserialize<'de> for ConfigPasswordRequest
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<&ConfigPasswordRequest> for ConfigPasswordRequest
impl From<&ConfigPasswordRequest> for ConfigPasswordRequest
Source§fn from(value: &ConfigPasswordRequest) -> Self
fn from(value: &ConfigPasswordRequest) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ConfigPasswordRequest
impl RefUnwindSafe for ConfigPasswordRequest
impl Send for ConfigPasswordRequest
impl Sync for ConfigPasswordRequest
impl Unpin for ConfigPasswordRequest
impl UnsafeUnpin for ConfigPasswordRequest
impl UnwindSafe for ConfigPasswordRequest
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