pub struct RekeyBatchRequest<T: Rekeyable + HasStructure> {
pub encrypted: Vec<T>,
pub session_from: EncryptionContext,
pub session_to: EncryptionContext,
}Expand description
An API request to rekey a batch of encrypted attributes.
Fields§
§encrypted: Vec<T>The encrypted data.
session_from: EncryptionContextThe session the attributes were encrypted in associated with this server.
session_to: EncryptionContextThe session the attributes should be decryptable in associated with this server.
Trait Implementations§
Source§impl<T: Debug + Rekeyable + HasStructure> Debug for RekeyBatchRequest<T>
impl<T: Debug + Rekeyable + HasStructure> Debug for RekeyBatchRequest<T>
Source§impl<'de, T> Deserialize<'de> for RekeyBatchRequest<T>
impl<'de, T> Deserialize<'de> for RekeyBatchRequest<T>
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<T> Serialize for RekeyBatchRequest<T>
impl<T> Serialize for RekeyBatchRequest<T>
Auto Trait Implementations§
impl<T> Freeze for RekeyBatchRequest<T>
impl<T> RefUnwindSafe for RekeyBatchRequest<T>where
T: RefUnwindSafe,
impl<T> Send for RekeyBatchRequest<T>where
T: Send,
impl<T> Sync for RekeyBatchRequest<T>where
T: Sync,
impl<T> Unpin for RekeyBatchRequest<T>where
T: Unpin,
impl<T> UnwindSafe for RekeyBatchRequest<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