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