pub struct PseudoDataPoint {
pub participant: Vec<Pseudonym>,
pub extra_data: Value,
}
Fields§
§participant: Vec<Pseudonym>
§extra_data: Value
Trait Implementations§
Source§impl Clone for PseudoDataPoint
impl Clone for PseudoDataPoint
Source§fn clone(&self) -> PseudoDataPoint
fn clone(&self) -> PseudoDataPoint
Returns a copy of the value. Read more
1.0.0 · 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 PseudoDataPoint
impl Debug for PseudoDataPoint
Source§impl HasBatchInfo<PseudoDataPoint> for ActivityBatchRequest
impl HasBatchInfo<PseudoDataPoint> for ActivityBatchRequest
fn participants(&self) -> Vec<Vec<Pseudonym>>
fn extra_data(&self) -> Vec<Value>
fn pseudo_data_points(&self) -> Vec<PseudoDataPoint>
fn domain(&self) -> PseudonymizationDomain
Source§impl HasBatchInfo<PseudoDataPoint> for ActivityBatchResponse
impl HasBatchInfo<PseudoDataPoint> for ActivityBatchResponse
fn participants(&self) -> Vec<Vec<Pseudonym>>
fn extra_data(&self) -> Vec<Value>
fn pseudo_data_points(&self) -> Vec<PseudoDataPoint>
fn domain(&self) -> PseudonymizationDomain
Source§impl HasBatchInfo<PseudoDataPoint> for ParticipantBatchRequest
impl HasBatchInfo<PseudoDataPoint> for ParticipantBatchRequest
fn participants(&self) -> Vec<Vec<Pseudonym>>
fn extra_data(&self) -> Vec<Value>
fn pseudo_data_points(&self) -> Vec<PseudoDataPoint>
fn domain(&self) -> PseudonymizationDomain
Source§impl HasBatchInfo<PseudoDataPoint> for ParticipantBatchResponse
impl HasBatchInfo<PseudoDataPoint> for ParticipantBatchResponse
fn participants(&self) -> Vec<Vec<Pseudonym>>
fn extra_data(&self) -> Vec<Value>
fn pseudo_data_points(&self) -> Vec<PseudoDataPoint>
fn domain(&self) -> PseudonymizationDomain
Source§impl PEPBatchMessageType<PEPPseudoDataPoint, PseudoDataPoint> for ActivityBatchRequestMessageType
impl PEPBatchMessageType<PEPPseudoDataPoint, PseudoDataPoint> for ActivityBatchRequestMessageType
type PEPBatchMessage = PEPActivityBatchRequest
type BatchMessage = ActivityBatchRequest
async fn pack<R: RngCore + CryptoRng>( request: Self::BatchMessage, domain_to: PseudonymizationDomain, ps: &mut PseudonymService, rng: &mut R, ) -> Result<Self::PEPBatchMessage, ApiError>
async fn unpack( request: Self::PEPBatchMessage, ps: &mut PseudonymService, ) -> Result<Self::BatchMessage, ApiError>
Source§impl PEPBatchMessageType<PEPPseudoDataPoint, PseudoDataPoint> for ActivityBatchResponseMessageType
impl PEPBatchMessageType<PEPPseudoDataPoint, PseudoDataPoint> for ActivityBatchResponseMessageType
type PEPBatchMessage = PEPActivityBatchResponse
type BatchMessage = ActivityBatchResponse
async fn pack<R: RngCore + CryptoRng>( request: Self::BatchMessage, domain_to: PseudonymizationDomain, ps: &mut PseudonymService, rng: &mut R, ) -> Result<Self::PEPBatchMessage, ApiError>
async fn unpack( request: Self::PEPBatchMessage, ps: &mut PseudonymService, ) -> Result<Self::BatchMessage, ApiError>
Source§impl PEPBatchMessageType<PEPPseudoDataPoint, PseudoDataPoint> for ParticipantBatchRequestMessageType
impl PEPBatchMessageType<PEPPseudoDataPoint, PseudoDataPoint> for ParticipantBatchRequestMessageType
type PEPBatchMessage = PEPParticipantBatchRequest
type BatchMessage = ParticipantBatchRequest
async fn pack<R: RngCore + CryptoRng>( request: Self::BatchMessage, domain_to: PseudonymizationDomain, ps: &mut PseudonymService, rng: &mut R, ) -> Result<Self::PEPBatchMessage, ApiError>
async fn unpack( request: Self::PEPBatchMessage, ps: &mut PseudonymService, ) -> Result<Self::BatchMessage, ApiError>
Source§impl PEPBatchMessageType<PEPPseudoDataPoint, PseudoDataPoint> for ParticipantBatchResponseMessageType
impl PEPBatchMessageType<PEPPseudoDataPoint, PseudoDataPoint> for ParticipantBatchResponseMessageType
type PEPBatchMessage = PEPParticipantBatchResponse
type BatchMessage = ParticipantBatchResponse
async fn pack<R: RngCore + CryptoRng>( request: Self::BatchMessage, domain_to: PseudonymizationDomain, ps: &mut PseudonymService, rng: &mut R, ) -> Result<Self::PEPBatchMessage, ApiError>
async fn unpack( request: Self::PEPBatchMessage, ps: &mut PseudonymService, ) -> Result<Self::BatchMessage, ApiError>
Auto Trait Implementations§
impl Freeze for PseudoDataPoint
impl RefUnwindSafe for PseudoDataPoint
impl Send for PseudoDataPoint
impl Sync for PseudoDataPoint
impl Unpin for PseudoDataPoint
impl UnwindSafe for PseudoDataPoint
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