pub struct TranscryptionRequest {
pub encrypted: Vec<EncryptedEntityData>,
pub domain_from: PseudonymizationDomain,
pub domain_to: PseudonymizationDomain,
pub session_from: EncryptionContext,
pub session_to: EncryptionContext,
}
Expand description
An API request to transcrypt a single encrypted pseudonym.
Fields§
§encrypted: Vec<EncryptedEntityData>
The encrypted messages.
domain_from: PseudonymizationDomain
The domain of the encrypted pseudonyms.
domain_to: PseudonymizationDomain
The domain to transcrypt the pseudonyms to.
session_from: EncryptionContext
The session the messages were encrypted in associated with this server.
session_to: EncryptionContext
The session the messages should be decryptable in associated with this server.
Trait Implementations§
Source§impl Debug for TranscryptionRequest
impl Debug for TranscryptionRequest
Source§impl<'de> Deserialize<'de> for TranscryptionRequest
impl<'de> Deserialize<'de> for TranscryptionRequest
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 TranscryptionRequest
impl RefUnwindSafe for TranscryptionRequest
impl Send for TranscryptionRequest
impl Sync for TranscryptionRequest
impl Unpin for TranscryptionRequest
impl UnwindSafe for TranscryptionRequest
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