Struct fusionauth_rust_client::models::user_consent::UserConsent
source · pub struct UserConsent {
pub data: Option<HashMap<String, Value>>,
pub consent: Option<Box<Consent>>,
pub consent_id: Option<Uuid>,
pub giver_user_id: Option<Uuid>,
pub id: Option<Uuid>,
pub insert_instant: Option<i64>,
pub last_update_instant: Option<i64>,
pub status: Option<ConsentStatus>,
pub user_id: Option<Uuid>,
pub values: Option<Vec<String>>,
}
Expand description
UserConsent : Models a User consent.
Fields§
§data: Option<HashMap<String, Value>>
§consent: Option<Box<Consent>>
§consent_id: Option<Uuid>
§giver_user_id: Option<Uuid>
§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.
status: Option<ConsentStatus>
§user_id: Option<Uuid>
§values: Option<Vec<String>>
Implementations§
source§impl UserConsent
impl UserConsent
sourcepub fn new() -> UserConsent
pub fn new() -> UserConsent
Models a User consent.
Trait Implementations§
source§impl Clone for UserConsent
impl Clone for UserConsent
source§fn clone(&self) -> UserConsent
fn clone(&self) -> UserConsent
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 UserConsent
impl Debug for UserConsent
source§impl Default for UserConsent
impl Default for UserConsent
source§fn default() -> UserConsent
fn default() -> UserConsent
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for UserConsent
impl<'de> Deserialize<'de> for UserConsent
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 UserConsent
impl PartialEq for UserConsent
source§fn eq(&self, other: &UserConsent) -> bool
fn eq(&self, other: &UserConsent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for UserConsent
impl Serialize for UserConsent
impl StructuralPartialEq for UserConsent
Auto Trait Implementations§
impl RefUnwindSafe for UserConsent
impl Send for UserConsent
impl Sync for UserConsent
impl Unpin for UserConsent
impl UnwindSafe for UserConsent
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