pub struct AuthzSnapshot {
pub snapshot_id: Option<String>,
pub model_id: Option<String>,
pub relationship_hash: Option<String>,
pub tuple_count: Option<i32>,
pub resolver: Option<String>,
pub stale: Option<bool>,
pub snapshot_token: Option<String>,
pub checked_at: Option<String>,
pub snapshot_hash: Option<String>,
}Fields§
§snapshot_id: Option<String>§model_id: Option<String>§relationship_hash: Option<String>§tuple_count: Option<i32>§resolver: Option<String>§stale: Option<bool>§snapshot_token: Option<String>§checked_at: Option<String>§snapshot_hash: Option<String>Implementations§
Source§impl AuthzSnapshot
impl AuthzSnapshot
pub fn new() -> AuthzSnapshot
Trait Implementations§
Source§impl Clone for AuthzSnapshot
impl Clone for AuthzSnapshot
Source§fn clone(&self) -> AuthzSnapshot
fn clone(&self) -> AuthzSnapshot
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 AuthzSnapshot
impl Debug for AuthzSnapshot
Source§impl Default for AuthzSnapshot
impl Default for AuthzSnapshot
Source§fn default() -> AuthzSnapshot
fn default() -> AuthzSnapshot
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AuthzSnapshot
impl<'de> Deserialize<'de> for AuthzSnapshot
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 AuthzSnapshot
impl PartialEq for AuthzSnapshot
Source§fn eq(&self, other: &AuthzSnapshot) -> bool
fn eq(&self, other: &AuthzSnapshot) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AuthzSnapshot
impl Serialize for AuthzSnapshot
impl StructuralPartialEq for AuthzSnapshot
Auto Trait Implementations§
impl Freeze for AuthzSnapshot
impl RefUnwindSafe for AuthzSnapshot
impl Send for AuthzSnapshot
impl Sync for AuthzSnapshot
impl Unpin for AuthzSnapshot
impl UnsafeUnpin for AuthzSnapshot
impl UnwindSafe for AuthzSnapshot
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