pub struct Denied {
pub explicit_deny: Option<ExplicitDeny>,
pub implicit_deny: Option<ImplicitDeny>,
}Expand description
Contains information that denied the authorization.
Fields§
§explicit_deny: Option<ExplicitDeny>Information that explicitly denies the authorization.
implicit_deny: Option<ImplicitDeny>Information that implicitly denies the authorization. When a policy doesn't explicitly deny or allow an action on a resource it is considered an implicit deny.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Denied
impl<'de> Deserialize<'de> for Denied
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
impl StructuralPartialEq for Denied
Auto Trait Implementations§
impl Freeze for Denied
impl RefUnwindSafe for Denied
impl Send for Denied
impl Sync for Denied
impl Unpin for Denied
impl UnwindSafe for Denied
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