pub struct UserConsentResponse {
pub user_consent: Option<Box<UserConsent>>,
pub user_consents: Option<Vec<UserConsent>>,
}
Expand description
UserConsentResponse : API response for User consent.
Fields§
§user_consent: Option<Box<UserConsent>>
§user_consents: Option<Vec<UserConsent>>
Implementations§
Source§impl UserConsentResponse
impl UserConsentResponse
Sourcepub fn new() -> UserConsentResponse
pub fn new() -> UserConsentResponse
API response for User consent.
Trait Implementations§
Source§impl Clone for UserConsentResponse
impl Clone for UserConsentResponse
Source§fn clone(&self) -> UserConsentResponse
fn clone(&self) -> UserConsentResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for UserConsentResponse
impl Debug for UserConsentResponse
Source§impl Default for UserConsentResponse
impl Default for UserConsentResponse
Source§fn default() -> UserConsentResponse
fn default() -> UserConsentResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UserConsentResponse
impl<'de> Deserialize<'de> for UserConsentResponse
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 UserConsentResponse
impl PartialEq for UserConsentResponse
Source§impl Serialize for UserConsentResponse
impl Serialize for UserConsentResponse
impl StructuralPartialEq for UserConsentResponse
Auto Trait Implementations§
impl Freeze for UserConsentResponse
impl RefUnwindSafe for UserConsentResponse
impl Send for UserConsentResponse
impl Sync for UserConsentResponse
impl Unpin for UserConsentResponse
impl UnwindSafe for UserConsentResponse
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