pub struct AuthzResult {
pub allowed: bool,
pub actor_roles: Vec<String>,
pub matched_grant: Option<PermissionGrant>,
pub policy_default: String,
pub reason: Option<String>,
}Fields§
§allowed: bool§actor_roles: Vec<String>§matched_grant: Option<PermissionGrant>§policy_default: String§reason: Option<String>Trait Implementations§
Source§impl Clone for AuthzResult
impl Clone for AuthzResult
Source§fn clone(&self) -> AuthzResult
fn clone(&self) -> AuthzResult
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 AuthzResult
impl Debug for AuthzResult
Source§impl<'de> Deserialize<'de> for AuthzResult
impl<'de> Deserialize<'de> for AuthzResult
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 AuthzResult
impl RefUnwindSafe for AuthzResult
impl Send for AuthzResult
impl Sync for AuthzResult
impl Unpin for AuthzResult
impl UnsafeUnpin for AuthzResult
impl UnwindSafe for AuthzResult
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