pub struct ConsentGateEntry {
pub grantor: String,
pub grantee: String,
pub scope: ConsentScope,
pub status: ConsentStatus,
pub created_at: String,
pub updated_at: String,
pub expires_at: Option<String>,
pub reason: Option<String>,
}Expand description
A single consent gate entry.
Fields§
§grantor: StringWho is granting consent.
grantee: StringWho is receiving consent.
scope: ConsentScopeWhat scope of access is granted.
status: ConsentStatusCurrent status.
created_at: StringWhen the consent was created (ISO 8601).
updated_at: StringWhen the consent was last updated.
expires_at: Option<String>Optional expiry time (ISO 8601).
reason: Option<String>Human-readable reason.
Trait Implementations§
Source§impl Clone for ConsentGateEntry
impl Clone for ConsentGateEntry
Source§fn clone(&self) -> ConsentGateEntry
fn clone(&self) -> ConsentGateEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ConsentGateEntry
impl Debug for ConsentGateEntry
Source§impl<'de> Deserialize<'de> for ConsentGateEntry
impl<'de> Deserialize<'de> for ConsentGateEntry
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 ConsentGateEntry
impl RefUnwindSafe for ConsentGateEntry
impl Send for ConsentGateEntry
impl Sync for ConsentGateEntry
impl Unpin for ConsentGateEntry
impl UnsafeUnpin for ConsentGateEntry
impl UnwindSafe for ConsentGateEntry
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