pub struct RotateEncryptionKeyRequest {
pub new_key: String,
pub namespace: Option<String>,
}Expand description
Request body for POST /v1/admin/encryption/rotate-key (SEC-3).
Fields§
§new_key: StringNew passphrase or 64-char hex key to rotate to.
namespace: Option<String>If set, rotate only memories in this namespace. Omit to rotate all.
Trait Implementations§
Source§impl Clone for RotateEncryptionKeyRequest
impl Clone for RotateEncryptionKeyRequest
Source§fn clone(&self) -> RotateEncryptionKeyRequest
fn clone(&self) -> RotateEncryptionKeyRequest
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 RotateEncryptionKeyRequest
impl Debug for RotateEncryptionKeyRequest
Source§impl<'de> Deserialize<'de> for RotateEncryptionKeyRequest
impl<'de> Deserialize<'de> for RotateEncryptionKeyRequest
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 Freeze for RotateEncryptionKeyRequest
impl RefUnwindSafe for RotateEncryptionKeyRequest
impl Send for RotateEncryptionKeyRequest
impl Sync for RotateEncryptionKeyRequest
impl Unpin for RotateEncryptionKeyRequest
impl UnsafeUnpin for RotateEncryptionKeyRequest
impl UnwindSafe for RotateEncryptionKeyRequest
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