pub struct UpdateSecretRequest {
pub value: String,
}Expand description
Request body for updating a secret value.
JSON schema
{
"description": "Request body for updating a secret value.",
"type": "object",
"required": [
"value"
],
"properties": {
"value": {
"description": "New secret value (plaintext, will be encrypted at rest).",
"type": "string"
}
}
}
```ignore
</details>Fields§
§value: StringNew secret value (plaintext, will be encrypted at rest).
Implementations§
Source§impl UpdateSecretRequest
impl UpdateSecretRequest
pub fn builder() -> UpdateSecretRequest
Trait Implementations§
Source§impl Clone for UpdateSecretRequest
impl Clone for UpdateSecretRequest
Source§impl Debug for UpdateSecretRequest
impl Debug for UpdateSecretRequest
Source§impl<'de> Deserialize<'de> for UpdateSecretRequest
impl<'de> Deserialize<'de> for UpdateSecretRequest
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<UpdateSecretRequest> for UpdateSecretRequest
impl From<UpdateSecretRequest> for UpdateSecretRequest
Source§fn from(value: UpdateSecretRequest) -> Self
fn from(value: UpdateSecretRequest) -> Self
Converts to this type from the input type.
Source§impl Serialize for UpdateSecretRequest
impl Serialize for UpdateSecretRequest
Source§impl TryFrom<UpdateSecretRequest> for UpdateSecretRequest
impl TryFrom<UpdateSecretRequest> for UpdateSecretRequest
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: UpdateSecretRequest) -> Result<Self, ConversionError>
fn try_from(value: UpdateSecretRequest) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for UpdateSecretRequest
impl RefUnwindSafe for UpdateSecretRequest
impl Send for UpdateSecretRequest
impl Sync for UpdateSecretRequest
impl Unpin for UpdateSecretRequest
impl UnsafeUnpin for UpdateSecretRequest
impl UnwindSafe for UpdateSecretRequest
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