pub enum IAMAction {
Single(String),
Multiple(Vec<String>),
}
Expand description
Represents an action in an IAM policy
Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for IAMAction
impl<'de> Deserialize<'de> for IAMAction
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 Validate for IAMAction
impl Validate for IAMAction
Source§fn validate(&self, context: &mut ValidationContext) -> ValidationResult
fn validate(&self, context: &mut ValidationContext) -> ValidationResult
Validate the component within the given context Read more
Source§fn validate_result(&self) -> ValidationResult
fn validate_result(&self) -> ValidationResult
Validate with detailed errors (same as regular validation) Read more
impl Eq for IAMAction
impl StructuralPartialEq for IAMAction
Auto Trait Implementations§
impl Freeze for IAMAction
impl RefUnwindSafe for IAMAction
impl Send for IAMAction
impl Sync for IAMAction
impl Unpin for IAMAction
impl UnwindSafe for IAMAction
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