pub struct Policy {
pub id: Option<String>,
pub crn: Option<String>,
pub name: Option<String>,
pub description: Option<String>,
pub tags: Option<Tags>,
pub is_system: Option<bool>,
pub document: Option<PolicyDocument>,
pub created_at: Option<String>,
pub updated_at: Option<String>,
}Fields§
§id: Option<String>§crn: Option<String>Managed policy CRN; absent on inline policy projections in effective-policy lists.
name: Option<String>Resource names must not start with the literal crn: prefix or be UUIDs (canonical, compact, braced, or urn:uuid: forms, in either case).
description: Option<String>§is_system: Option<bool>Whether this is a system-managed policy (cannot be modified or deleted)
document: Option<PolicyDocument>§created_at: Option<String>Creation timestamp (not present for system policies)
updated_at: Option<String>Last update timestamp (not present for system policies)
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
Auto Trait Implementations§
impl Freeze for Policy
impl RefUnwindSafe for Policy
impl Send for Policy
impl Sync for Policy
impl Unpin for Policy
impl UnsafeUnpin 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