pub struct NewConsent {
pub id: Uuid,
pub user_id: Uuid,
pub client_id: String,
pub scopes: Option<Value>,
pub created_at: NaiveDateTime,
}Fields§
§id: Uuid§user_id: Uuid§client_id: String§scopes: Option<Value>§created_at: NaiveDateTimeTrait Implementations§
Source§impl Clone for NewConsent
impl Clone for NewConsent
Source§fn clone(&self) -> NewConsent
fn clone(&self) -> NewConsent
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 NewConsent
impl Debug for NewConsent
Source§impl<'de> Deserialize<'de> for NewConsent
impl<'de> Deserialize<'de> for NewConsent
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 NewConsent
impl RefUnwindSafe for NewConsent
impl Send for NewConsent
impl Sync for NewConsent
impl Unpin for NewConsent
impl UnsafeUnpin for NewConsent
impl UnwindSafe for NewConsent
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