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