pub struct RekeyRequest<T: Rekeyable> {
pub encrypted: T,
pub session_from: EncryptionContext,
pub session_to: EncryptionContext,
}Expand description
An API request to rekey an encrypted attribute.
Fields§
§encrypted: TThe encrypted data.
session_from: EncryptionContextThe session the attribute was encrypted in associated with this server.
session_to: EncryptionContextThe session the attribute should be decryptable in associated with this server.
Trait Implementations§
Source§impl<'de, T> Deserialize<'de> for RekeyRequest<T>where
T: Deserialize<'de> + Rekeyable,
impl<'de, T> Deserialize<'de> for RekeyRequest<T>where
T: Deserialize<'de> + Rekeyable,
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<T> Freeze for RekeyRequest<T>where
T: Freeze,
impl<T> RefUnwindSafe for RekeyRequest<T>where
T: RefUnwindSafe,
impl<T> Send for RekeyRequest<T>where
T: Send,
impl<T> Sync for RekeyRequest<T>where
T: Sync,
impl<T> Unpin for RekeyRequest<T>where
T: Unpin,
impl<T> UnsafeUnpin for RekeyRequest<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for RekeyRequest<T>where
T: UnwindSafe,
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