pub struct BreachNotification {Show 14 fields
pub breach_id: String,
pub detected_at: DateTime<Utc>,
pub reported_to_authority_at: Option<DateTime<Utc>>,
pub notified_subjects_at: Option<DateTime<Utc>>,
pub breach_type: BreachType,
pub affected_data_subjects: usize,
pub categories_of_data_affected: Vec<PersonalDataType>,
pub likely_consequences: String,
pub measures_taken: Vec<String>,
pub measures_to_mitigate: Vec<String>,
pub risk_assessment: RiskLevel,
pub authority_reference: Option<String>,
pub requires_subject_notification: bool,
pub notification_delay_reason: Option<String>,
}Expand description
Personal data breach notification
Fields§
§breach_id: String§detected_at: DateTime<Utc>§notified_subjects_at: Option<DateTime<Utc>>§breach_type: BreachType§affected_data_subjects: usize§categories_of_data_affected: Vec<PersonalDataType>§likely_consequences: String§measures_taken: Vec<String>§measures_to_mitigate: Vec<String>§risk_assessment: RiskLevel§requires_subject_notification: bool§notification_delay_reason: Option<String>Trait Implementations§
Source§impl Clone for BreachNotification
impl Clone for BreachNotification
Source§fn clone(&self) -> BreachNotification
fn clone(&self) -> BreachNotification
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 BreachNotification
impl Debug for BreachNotification
Source§impl<'de> Deserialize<'de> for BreachNotification
impl<'de> Deserialize<'de> for BreachNotification
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 BreachNotification
impl RefUnwindSafe for BreachNotification
impl Send for BreachNotification
impl Sync for BreachNotification
impl Unpin for BreachNotification
impl UnwindSafe for BreachNotification
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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 more