Struct aws_sdk_iam::model::Statement
source · [−]#[non_exhaustive]pub struct Statement { /* private fields */ }Expand description
Contains a reference to a Statement element in a policy document that determines the result of the simulation.
This data type is used by the MatchedStatements member of the type.EvaluationResult
Implementations
sourceimpl Statement
impl Statement
sourcepub fn source_policy_id(&self) -> Option<&str>
pub fn source_policy_id(&self) -> Option<&str>
The identifier of the policy that was provided as an input.
sourcepub fn source_policy_type(&self) -> Option<&PolicySourceType>
pub fn source_policy_type(&self) -> Option<&PolicySourceType>
The type of the policy.
sourcepub fn start_position(&self) -> Option<&Position>
pub fn start_position(&self) -> Option<&Position>
The row and column of the beginning of the Statement in an IAM policy.
sourcepub fn end_position(&self) -> Option<&Position>
pub fn end_position(&self) -> Option<&Position>
The row and column of the end of a Statement in an IAM policy.
Trait Implementations
impl StructuralPartialEq for Statement
Auto Trait Implementations
impl RefUnwindSafe for Statement
impl Send for Statement
impl Sync for Statement
impl Unpin for Statement
impl UnwindSafe for Statement
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more