#[non_exhaustive]pub struct AccessPolicySummary {
pub type: Option<AccessPolicyType>,
pub name: Option<String>,
pub policy_version: Option<String>,
pub description: Option<String>,
pub created_date: Option<i64>,
pub last_modified_date: Option<i64>,
}
Expand description
A summary of the data access policy.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.type: Option<AccessPolicyType>
The type of access policy. Currently, the only available type is data
.
name: Option<String>
The name of the access policy.
policy_version: Option<String>
The version of the policy.
description: Option<String>
The description of the access policy.
created_date: Option<i64>
The Epoch time when the access policy was created.
last_modified_date: Option<i64>
The date and time when the collection was last modified.
Implementations§
source§impl AccessPolicySummary
impl AccessPolicySummary
sourcepub fn type(&self) -> Option<&AccessPolicyType>
pub fn type(&self) -> Option<&AccessPolicyType>
The type of access policy. Currently, the only available type is data
.
sourcepub fn policy_version(&self) -> Option<&str>
pub fn policy_version(&self) -> Option<&str>
The version of the policy.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the access policy.
sourcepub fn created_date(&self) -> Option<i64>
pub fn created_date(&self) -> Option<i64>
The Epoch time when the access policy was created.
sourcepub fn last_modified_date(&self) -> Option<i64>
pub fn last_modified_date(&self) -> Option<i64>
The date and time when the collection was last modified.
source§impl AccessPolicySummary
impl AccessPolicySummary
sourcepub fn builder() -> AccessPolicySummaryBuilder
pub fn builder() -> AccessPolicySummaryBuilder
Creates a new builder-style object to manufacture AccessPolicySummary
.
Trait Implementations§
source§impl Clone for AccessPolicySummary
impl Clone for AccessPolicySummary
source§fn clone(&self) -> AccessPolicySummary
fn clone(&self) -> AccessPolicySummary
Returns a copy 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 AccessPolicySummary
impl Debug for AccessPolicySummary
source§impl PartialEq for AccessPolicySummary
impl PartialEq for AccessPolicySummary
source§fn eq(&self, other: &AccessPolicySummary) -> bool
fn eq(&self, other: &AccessPolicySummary) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AccessPolicySummary
Auto Trait Implementations§
impl RefUnwindSafe for AccessPolicySummary
impl Send for AccessPolicySummary
impl Sync for AccessPolicySummary
impl Unpin for AccessPolicySummary
impl UnwindSafe for AccessPolicySummary
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