pub struct ConsentRequest {
pub consent: Option<Box<Consent>>,
}
Expand description
ConsentRequest : API request for User consent types.
Fields§
§consent: Option<Box<Consent>>
Implementations§
source§impl ConsentRequest
impl ConsentRequest
sourcepub fn new() -> ConsentRequest
pub fn new() -> ConsentRequest
API request for User consent types.
Trait Implementations§
source§impl Clone for ConsentRequest
impl Clone for ConsentRequest
source§fn clone(&self) -> ConsentRequest
fn clone(&self) -> ConsentRequest
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 ConsentRequest
impl Debug for ConsentRequest
source§impl Default for ConsentRequest
impl Default for ConsentRequest
source§fn default() -> ConsentRequest
fn default() -> ConsentRequest
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ConsentRequest
impl<'de> Deserialize<'de> for ConsentRequest
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 ConsentRequest
impl PartialEq for ConsentRequest
source§fn eq(&self, other: &ConsentRequest) -> bool
fn eq(&self, other: &ConsentRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ConsentRequest
impl Serialize for ConsentRequest
impl StructuralPartialEq for ConsentRequest
Auto Trait Implementations§
impl RefUnwindSafe for ConsentRequest
impl Send for ConsentRequest
impl Sync for ConsentRequest
impl Unpin for ConsentRequest
impl UnwindSafe for ConsentRequest
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