pub struct TranscryptionRequest<T: Transcryptable> {
pub encrypted: T,
pub domain_from: PseudonymizationDomain,
pub domain_to: PseudonymizationDomain,
pub session_from: EncryptionContext,
pub session_to: EncryptionContext,
}Expand description
An API request to transcrypt encrypted data.
Fields§
§encrypted: TThe encrypted data.
domain_from: PseudonymizationDomainThe domain of the encrypted pseudonyms.
domain_to: PseudonymizationDomainThe domain to transcrypt the pseudonyms to.
session_from: EncryptionContextThe session the messages were encrypted in associated with this server.
session_to: EncryptionContextThe session the messages should be decryptable in associated with this server.
Trait Implementations§
Source§impl<T: Debug + Transcryptable> Debug for TranscryptionRequest<T>
impl<T: Debug + Transcryptable> Debug for TranscryptionRequest<T>
Source§impl<'de, T> Deserialize<'de> for TranscryptionRequest<T>where
T: Deserialize<'de> + Transcryptable,
impl<'de, T> Deserialize<'de> for TranscryptionRequest<T>where
T: Deserialize<'de> + Transcryptable,
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 TranscryptionRequest<T>where
T: Serialize + Transcryptable,
impl<T> Serialize for TranscryptionRequest<T>where
T: Serialize + Transcryptable,
Auto Trait Implementations§
impl<T> Freeze for TranscryptionRequest<T>where
T: Freeze,
impl<T> RefUnwindSafe for TranscryptionRequest<T>where
T: RefUnwindSafe,
impl<T> Send for TranscryptionRequest<T>where
T: Send,
impl<T> Sync for TranscryptionRequest<T>where
T: Sync,
impl<T> Unpin for TranscryptionRequest<T>where
T: Unpin,
impl<T> UnsafeUnpin for TranscryptionRequest<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for TranscryptionRequest<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