Struct objectscale_client::iam::Policy
source · pub struct Policy {Show 13 fields
pub arn: String,
pub attachment_count: i64,
pub create_date: String,
pub default_version_id: String,
pub description: String,
pub is_attachable: bool,
pub path: String,
pub permissions_boundary_usage_count: i64,
pub policy_id: String,
pub policy_name: String,
pub update_date: String,
pub policy_document: String,
pub namespace: String,
}Expand description
IAM policies are documents in JSON format that define permissions for an operation regardless of the method that you use to perform the operation.
Fields§
§arn: StringThe resource name of the policy.
attachment_count: i64The number of entities (users, groups, and roles) that the policy is attached to.
create_date: StringThe date and time, in ISO 8601 date-time format, when the policy was created.
default_version_id: StringThe identifier for the version of the policy that is set as the default version.
description: StringA friendly description of the policy.
is_attachable: boolSpecifies whether the policy can be attached to user, group, or role.
path: StringThe path to the policy
permissions_boundary_usage_count: i64Resource name of the policy that is used to set permissions boundary for the policy.
policy_id: StringThe stable and unique string identifying the policy.
policy_name: StringThe friendly name of the policy.
update_date: StringThe date and time, in ISO 8601 date-time format, when the policy was created.
policy_document: String§namespace: StringTrait Implementations§
source§impl<'de> Deserialize<'de> for Policy
impl<'de> Deserialize<'de> for Policy
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>,
Auto Trait Implementations§
impl Freeze for Policy
impl RefUnwindSafe for Policy
impl Send for Policy
impl Sync for Policy
impl Unpin for Policy
impl UnwindSafe for Policy
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)