Struct aws_lambda_events::event::iam::IamPolicyStatement
source · pub struct IamPolicyStatement {
pub action: Vec<String>,
pub effect: IamPolicyEffect,
pub resource: Vec<String>,
pub condition: Option<IamPolicyCondition>,
}
Expand description
IamPolicyStatement
represents one statement from IAM policy with action, effect and resource
Fields§
§action: Vec<String>
§effect: IamPolicyEffect
§resource: Vec<String>
§condition: Option<IamPolicyCondition>
Trait Implementations§
source§impl Clone for IamPolicyStatement
impl Clone for IamPolicyStatement
source§fn clone(&self) -> IamPolicyStatement
fn clone(&self) -> IamPolicyStatement
Returns a copy 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 IamPolicyStatement
impl Debug for IamPolicyStatement
source§impl Default for IamPolicyStatement
impl Default for IamPolicyStatement
source§fn default() -> IamPolicyStatement
fn default() -> IamPolicyStatement
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for IamPolicyStatement
impl<'de> Deserialize<'de> for IamPolicyStatement
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
source§impl PartialEq for IamPolicyStatement
impl PartialEq for IamPolicyStatement
source§fn eq(&self, other: &IamPolicyStatement) -> bool
fn eq(&self, other: &IamPolicyStatement) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for IamPolicyStatement
impl Serialize for IamPolicyStatement
impl Eq for IamPolicyStatement
impl StructuralPartialEq for IamPolicyStatement
Auto Trait Implementations§
impl Freeze for IamPolicyStatement
impl RefUnwindSafe for IamPolicyStatement
impl Send for IamPolicyStatement
impl Sync for IamPolicyStatement
impl Unpin for IamPolicyStatement
impl UnwindSafe for IamPolicyStatement
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