pub struct SecretRequest {
pub name: String,
pub value: String,
}Expand description
POST /api/v1/secrets: an empty value removes it.
Fields§
§name: String§value: StringTrait Implementations§
Source§impl Clone for SecretRequest
impl Clone for SecretRequest
Source§impl Debug for SecretRequest
impl Debug for SecretRequest
Source§impl<'de> Deserialize<'de> for SecretRequest
impl<'de> Deserialize<'de> for SecretRequest
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
Auto Trait Implementations§
impl Forget for SecretRequest
impl Freeze for SecretRequest
impl RefUnwindSafe for SecretRequest
impl Send for SecretRequest
impl Sync for SecretRequest
impl Unpin for SecretRequest
impl UnsafeUnpin for SecretRequest
impl UnwindSafe for SecretRequest
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