pub struct TenantPolicyContext {
pub table: String,
pub operation: TenantRepoOperation,
pub tenant_id: Option<String>,
pub row_tenant_id: Option<String>,
pub row_id: Option<u64>,
}Fields§
§table: String§operation: TenantRepoOperation§tenant_id: Option<String>§row_tenant_id: Option<String>§row_id: Option<u64>Trait Implementations§
Source§impl Clone for TenantPolicyContext
impl Clone for TenantPolicyContext
Source§fn clone(&self) -> TenantPolicyContext
fn clone(&self) -> TenantPolicyContext
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 TenantPolicyContext
impl Debug for TenantPolicyContext
Source§impl PartialEq for TenantPolicyContext
impl PartialEq for TenantPolicyContext
Source§fn eq(&self, other: &TenantPolicyContext) -> bool
fn eq(&self, other: &TenantPolicyContext) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for TenantPolicyContext
impl StructuralPartialEq for TenantPolicyContext
Auto Trait Implementations§
impl Freeze for TenantPolicyContext
impl RefUnwindSafe for TenantPolicyContext
impl Send for TenantPolicyContext
impl Sync for TenantPolicyContext
impl Unpin for TenantPolicyContext
impl UnsafeUnpin for TenantPolicyContext
impl UnwindSafe for TenantPolicyContext
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