pub struct Policy {
pub creation_date: Option<String>,
pub description: Option<String>,
pub is_linkable: Option<bool>,
pub last_modification_date: Option<String>,
pub orn: Option<String>,
pub path: Option<String>,
pub policy_default_version_id: Option<String>,
pub policy_id: Option<String>,
pub policy_name: Option<String>,
pub resources_count: Option<i32>,
}Expand description
Policy : Information about the policy.
Fields§
§creation_date: Option<String>The date and time (UTC) at which the policy was created.
description: Option<String>A friendly name for the policy (between 0 and 1000 characters).
is_linkable: Option<bool>Indicates whether the policy can be linked to a group or an EIM user.
last_modification_date: Option<String>The date and time (UTC) at which the policy was last modified.
orn: Option<String>The OUTSCALE Resource Name (ORN) of the policy. For more information, see Resource Identifiers.
path: Option<String>The path to the policy.
policy_default_version_id: Option<String>The ID of the policy default version.
policy_id: Option<String>The ID of the policy.
policy_name: Option<String>The name of the policy.
resources_count: Option<i32>The number of resources attached to the policy.
Implementations§
Trait 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>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Policy
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
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.