pub struct GdprExport {
pub export_date: DateTime<Utc>,
pub user_data: UserData,
pub owner_profiles: Vec<OwnerData>,
pub related_data: RelatedData,
}Expand description
Complete GDPR data export for a user Aggregates all personal data for GDPR Article 15 (Right to Access) compliance
Fields§
§export_date: DateTime<Utc>§user_data: UserData§owner_profiles: Vec<OwnerData>Implementations§
Source§impl GdprExport
impl GdprExport
Sourcepub fn add_owner_profile(&mut self, owner: OwnerData)
pub fn add_owner_profile(&mut self, owner: OwnerData)
Add owner profile to export
Sourcepub fn add_unit_ownership(&mut self, unit: UnitOwnershipData)
pub fn add_unit_ownership(&mut self, unit: UnitOwnershipData)
Add unit ownership data
Sourcepub fn add_expense(&mut self, expense: ExpenseData)
pub fn add_expense(&mut self, expense: ExpenseData)
Add expense data
Sourcepub fn add_document(&mut self, document: DocumentData)
pub fn add_document(&mut self, document: DocumentData)
Add document data
Sourcepub fn add_meeting(&mut self, meeting: MeetingData)
pub fn add_meeting(&mut self, meeting: MeetingData)
Add meeting data
Sourcepub fn is_anonymized(&self) -> bool
pub fn is_anonymized(&self) -> bool
Check if user data is anonymized
Sourcepub fn total_items(&self) -> usize
pub fn total_items(&self) -> usize
Get total number of data items
Trait Implementations§
Source§impl Clone for GdprExport
impl Clone for GdprExport
Source§fn clone(&self) -> GdprExport
fn clone(&self) -> GdprExport
Returns a duplicate 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 GdprExport
impl Debug for GdprExport
Source§impl<'de> Deserialize<'de> for GdprExport
impl<'de> Deserialize<'de> for GdprExport
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 From<GdprExport> for GdprExportResponseDto
impl From<GdprExport> for GdprExportResponseDto
Source§fn from(export: GdprExport) -> Self
fn from(export: GdprExport) -> Self
Converts to this type from the input type.
Source§impl PartialEq for GdprExport
impl PartialEq for GdprExport
Source§impl Serialize for GdprExport
impl Serialize for GdprExport
impl StructuralPartialEq for GdprExport
Auto Trait Implementations§
impl Freeze for GdprExport
impl RefUnwindSafe for GdprExport
impl Send for GdprExport
impl Sync for GdprExport
impl Unpin for GdprExport
impl UnwindSafe for GdprExport
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
§impl<T> Chain<T> for T
impl<T> Chain<T> for T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Fake for T
impl<T> Fake for T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.