pub struct SetSecretRequest {
pub key: String,
pub value: String,
}Expand description
Request body for creating or updating a secret.
Fields§
§key: StringSecret key (namespaced, e.g. workflows/inbox/gmail_token).
value: StringSecret value (plaintext, will be encrypted at rest).
Trait Implementations§
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 Validate for SetSecretRequest
impl Validate for SetSecretRequest
Source§impl<'v_a> ValidateArgs<'v_a> for SetSecretRequest
impl<'v_a> ValidateArgs<'v_a> for SetSecretRequest
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