pub struct ConsentResponse {
pub consent: Option<Box<Consent>>,
pub consents: Option<Vec<Consent>>,
}
Expand description
ConsentResponse : API response for consent.
Fields§
§consent: Option<Box<Consent>>
§consents: Option<Vec<Consent>>
Implementations§
Source§impl ConsentResponse
impl ConsentResponse
Sourcepub fn new() -> ConsentResponse
pub fn new() -> ConsentResponse
API response for consent.
Trait Implementations§
Source§impl Clone for ConsentResponse
impl Clone for ConsentResponse
Source§fn clone(&self) -> ConsentResponse
fn clone(&self) -> ConsentResponse
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 ConsentResponse
impl Debug for ConsentResponse
Source§impl Default for ConsentResponse
impl Default for ConsentResponse
Source§fn default() -> ConsentResponse
fn default() -> ConsentResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ConsentResponse
impl<'de> Deserialize<'de> for ConsentResponse
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 ConsentResponse
impl PartialEq for ConsentResponse
Source§impl Serialize for ConsentResponse
impl Serialize for ConsentResponse
impl StructuralPartialEq for ConsentResponse
Auto Trait Implementations§
impl Freeze for ConsentResponse
impl RefUnwindSafe for ConsentResponse
impl Send for ConsentResponse
impl Sync for ConsentResponse
impl Unpin for ConsentResponse
impl UnwindSafe for ConsentResponse
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