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