pub struct PolicyVersion {
pub create_date: Option<f64>,
pub is_default_version: Option<bool>,
pub version_id: Option<String>,
}Expand description
Describes a policy version.
Fields§
§create_date: Option<f64>The date and time the policy was created.
is_default_version: Option<bool>Specifies whether the policy version is the default.
version_id: Option<String>The policy version ID.
Trait Implementations§
Source§impl Clone for PolicyVersion
impl Clone for PolicyVersion
Source§fn clone(&self) -> PolicyVersion
fn clone(&self) -> PolicyVersion
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 PolicyVersion
impl Debug for PolicyVersion
Source§impl Default for PolicyVersion
impl Default for PolicyVersion
Source§fn default() -> PolicyVersion
fn default() -> PolicyVersion
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PolicyVersion
impl<'de> Deserialize<'de> for PolicyVersion
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 PolicyVersion
impl PartialEq for PolicyVersion
impl StructuralPartialEq for PolicyVersion
Auto Trait Implementations§
impl Freeze for PolicyVersion
impl RefUnwindSafe for PolicyVersion
impl Send for PolicyVersion
impl Sync for PolicyVersion
impl Unpin for PolicyVersion
impl UnwindSafe for PolicyVersion
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