pub struct StatementMatch {
pub sid: Option<String>,
pub effect: IAMEffect,
pub conditions_satisfied: bool,
pub reason: String,
}Expand description
Information about a statement that matched during evaluation
Fields§
§sid: Option<String>Statement ID if available
effect: IAMEffectEffect of the statement
conditions_satisfied: boolWhether all conditions were satisfied
reason: StringReason for the match/non-match
Trait Implementations§
Source§impl Clone for StatementMatch
impl Clone for StatementMatch
Source§fn clone(&self) -> StatementMatch
fn clone(&self) -> StatementMatch
Returns a duplicate of the value. Read more
1.0.0 · 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 StatementMatch
impl Debug for StatementMatch
Source§impl PartialEq for StatementMatch
impl PartialEq for StatementMatch
Source§impl Serialize for StatementMatch
impl Serialize for StatementMatch
impl StructuralPartialEq for StatementMatch
Auto Trait Implementations§
impl Freeze for StatementMatch
impl RefUnwindSafe for StatementMatch
impl Send for StatementMatch
impl Sync for StatementMatch
impl Unpin for StatementMatch
impl UnsafeUnpin for StatementMatch
impl UnwindSafe for StatementMatch
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