pub struct ConsentState {
pub accepted_at: String,
pub consent_version: String,
pub license: String,
pub public_searchable: bool,
pub trainable: bool,
pub ack_sanitization: bool,
pub ack_public_search: bool,
pub ack_training_release: bool,
}Fields§
§accepted_at: String§consent_version: String§license: String§public_searchable: bool§trainable: bool§ack_sanitization: bool§ack_public_search: bool§ack_training_release: boolTrait Implementations§
Source§impl Clone for ConsentState
impl Clone for ConsentState
Source§fn clone(&self) -> ConsentState
fn clone(&self) -> ConsentState
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 ConsentState
impl Debug for ConsentState
Source§impl<'de> Deserialize<'de> for ConsentState
impl<'de> Deserialize<'de> for ConsentState
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 ConsentState
impl RefUnwindSafe for ConsentState
impl Send for ConsentState
impl Sync for ConsentState
impl Unpin for ConsentState
impl UnsafeUnpin for ConsentState
impl UnwindSafe for ConsentState
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