pub struct PolicyOutput {
pub account_id: Option<String>,
pub allowed_algorithms: Option<Vec<String>>,
pub allowed_key_names: Option<Vec<String>>,
pub allowed_key_types: Option<Vec<String>>,
pub id: Option<String>,
pub max_rotation_interval_days: Option<i32>,
pub object_types: Option<Vec<String>>,
pub path: Option<String>,
pub type: Option<String>,
}Expand description
PolicyOutput : it exposes object_types and intentionally hides enforce_on_items/enforce_on_targets.
Fields§
§account_id: Option<String>§allowed_algorithms: Option<Vec<String>>§allowed_key_names: Option<Vec<String>>§allowed_key_types: Option<Vec<String>>§id: Option<String>§max_rotation_interval_days: Option<i32>§object_types: Option<Vec<String>>§path: Option<String>§type: Option<String>Implementations§
Source§impl PolicyOutput
impl PolicyOutput
Sourcepub fn new() -> PolicyOutput
pub fn new() -> PolicyOutput
it exposes object_types and intentionally hides enforce_on_items/enforce_on_targets.
Trait Implementations§
Source§impl Clone for PolicyOutput
impl Clone for PolicyOutput
Source§fn clone(&self) -> PolicyOutput
fn clone(&self) -> PolicyOutput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PolicyOutput
impl Debug for PolicyOutput
Source§impl Default for PolicyOutput
impl Default for PolicyOutput
Source§fn default() -> PolicyOutput
fn default() -> PolicyOutput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PolicyOutput
impl<'de> Deserialize<'de> for PolicyOutput
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 PartialEq for PolicyOutput
impl PartialEq for PolicyOutput
Source§fn eq(&self, other: &PolicyOutput) -> bool
fn eq(&self, other: &PolicyOutput) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PolicyOutput
impl Serialize for PolicyOutput
impl StructuralPartialEq for PolicyOutput
Auto Trait Implementations§
impl Freeze for PolicyOutput
impl RefUnwindSafe for PolicyOutput
impl Send for PolicyOutput
impl Sync for PolicyOutput
impl Unpin for PolicyOutput
impl UnsafeUnpin for PolicyOutput
impl UnwindSafe for PolicyOutput
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