Struct fusionauth_rust_client::models::consent::Consent
source · pub struct Consent {
pub data: Option<HashMap<String, Value>>,
pub consent_email_template_id: Option<Uuid>,
pub country_minimum_age_for_self_consent: Option<Value>,
pub default_minimum_age_for_self_consent: Option<i32>,
pub email_plus: Option<Box<EmailPlus>>,
pub id: Option<Uuid>,
pub insert_instant: Option<i64>,
pub last_update_instant: Option<i64>,
pub multiple_values_allowed: Option<bool>,
pub name: Option<String>,
pub values: Option<Vec<String>>,
}
Expand description
Consent : Models a consent.
Fields§
§data: Option<HashMap<String, Value>>
§consent_email_template_id: Option<Uuid>
§country_minimum_age_for_self_consent: Option<Value>
Models a set of localized Integers that can be stored as JSON.
default_minimum_age_for_self_consent: Option<i32>
§email_plus: Option<Box<EmailPlus>>
§id: Option<Uuid>
§insert_instant: Option<i64>
The number of milliseconds since the unix epoch: January 1, 1970 00:00:00 UTC. This value is always in UTC.
last_update_instant: Option<i64>
The number of milliseconds since the unix epoch: January 1, 1970 00:00:00 UTC. This value is always in UTC.
multiple_values_allowed: Option<bool>
§name: Option<String>
§values: Option<Vec<String>>
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Consent
impl<'de> Deserialize<'de> for Consent
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 PartialEq for Consent
impl PartialEq for Consent
impl StructuralPartialEq for Consent
Auto Trait Implementations§
impl RefUnwindSafe for Consent
impl Send for Consent
impl Sync for Consent
impl Unpin for Consent
impl UnwindSafe for Consent
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