#[non_exhaustive]pub struct GetSchemaOutput {
pub policy_store_id: String,
pub schema: String,
pub created_date: DateTime,
pub last_updated_date: DateTime,
pub namespaces: Option<Vec<String>>,
/* 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: StringThe ID of the policy store that contains the schema.
schema: StringThe body of the schema, written in Cedar schema JSON.
created_date: DateTimeThe date and time that the schema was originally created.
last_updated_date: DateTimeThe date and time that the schema was most recently updated.
namespaces: Option<Vec<String>>The namespaces of the entities referenced by this schema.
Implementations§
source§impl GetSchemaOutput
impl GetSchemaOutput
sourcepub fn policy_store_id(&self) -> &str
pub fn policy_store_id(&self) -> &str
The ID of the policy store that contains the schema.
sourcepub fn created_date(&self) -> &DateTime
pub fn created_date(&self) -> &DateTime
The date and time that the schema was originally created.
sourcepub fn last_updated_date(&self) -> &DateTime
pub fn last_updated_date(&self) -> &DateTime
The date and time that the schema was most recently updated.
sourcepub fn namespaces(&self) -> &[String]
pub fn namespaces(&self) -> &[String]
The namespaces of the entities referenced by this schema.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .namespaces.is_none().
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.