pub struct PolicyInfo {
pub attached_resource: Option<String>,
pub policy: Option<Policy>,
}Expand description
The IAM policy and its attached resource.
This type is not used in any activity, and only used as part of another schema.
Fields§
§attached_resource: Option<String>The full resource name the policy is directly attached to.
policy: Option<Policy>The IAM policy that’s directly attached to the attached_resource.
Trait Implementations§
Source§impl Clone for PolicyInfo
impl Clone for PolicyInfo
Source§fn clone(&self) -> PolicyInfo
fn clone(&self) -> PolicyInfo
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 PolicyInfo
impl Debug for PolicyInfo
Source§impl Default for PolicyInfo
impl Default for PolicyInfo
Source§fn default() -> PolicyInfo
fn default() -> PolicyInfo
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PolicyInfo
impl<'de> Deserialize<'de> for PolicyInfo
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 Serialize for PolicyInfo
impl Serialize for PolicyInfo
impl Part for PolicyInfo
Auto Trait Implementations§
impl Freeze for PolicyInfo
impl RefUnwindSafe for PolicyInfo
impl Send for PolicyInfo
impl Sync for PolicyInfo
impl Unpin for PolicyInfo
impl UnwindSafe for PolicyInfo
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