#[non_exhaustive]pub struct GetSchemaOutput {
pub policy_store_id: Option<String>,
pub schema: Option<String>,
pub created_date: Option<DateTime>,
pub last_updated_date: Option<DateTime>,
/* private fields */
}
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.policy_store_id: Option<String>
The ID of the policy store that contains the schema.
schema: Option<String>
The body of the schema, written in Cedar schema JSON.
created_date: Option<DateTime>
The date and time that the schema was originally created.
last_updated_date: Option<DateTime>
The date and time that the schema was most recently updated.
Implementations§
source§impl GetSchemaOutput
impl GetSchemaOutput
sourcepub fn policy_store_id(&self) -> Option<&str>
pub fn policy_store_id(&self) -> Option<&str>
The ID of the policy store that contains the schema.
sourcepub fn created_date(&self) -> Option<&DateTime>
pub fn created_date(&self) -> Option<&DateTime>
The date and time that the schema was originally created.
sourcepub fn last_updated_date(&self) -> Option<&DateTime>
pub fn last_updated_date(&self) -> Option<&DateTime>
The date and time that the schema was most recently updated.
source§impl GetSchemaOutput
impl GetSchemaOutput
sourcepub fn builder() -> GetSchemaOutputBuilder
pub fn builder() -> GetSchemaOutputBuilder
Creates a new builder-style object to manufacture GetSchemaOutput
.
Trait Implementations§
source§impl Clone for GetSchemaOutput
impl Clone for GetSchemaOutput
source§fn clone(&self) -> GetSchemaOutput
fn clone(&self) -> GetSchemaOutput
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 GetSchemaOutput
impl Debug for GetSchemaOutput
source§impl PartialEq for GetSchemaOutput
impl PartialEq for GetSchemaOutput
source§fn eq(&self, other: &GetSchemaOutput) -> bool
fn eq(&self, other: &GetSchemaOutput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for GetSchemaOutput
impl RequestId for GetSchemaOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
Returns the request ID, or
None
if the service could not be reached.impl StructuralPartialEq for GetSchemaOutput
Auto Trait Implementations§
impl RefUnwindSafe for GetSchemaOutput
impl Send for GetSchemaOutput
impl Sync for GetSchemaOutput
impl Unpin for GetSchemaOutput
impl UnwindSafe for GetSchemaOutput
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