#[non_exhaustive]pub struct GetGraphSnapshotOutput {
pub id: String,
pub name: String,
pub arn: String,
pub source_graph_id: Option<String>,
pub snapshot_create_time: Option<DateTime>,
pub status: Option<SnapshotStatus>,
pub kms_key_identifier: Option<String>,
/* private fields */
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.id: String
The unique identifier of the graph snapshot.
name: String
The snapshot name. For example: my-snapshot-1
.
The name must contain from 1 to 63 letters, numbers, or hyphens, and its first character must be a letter. It cannot end with a hyphen or contain two consecutive hyphens.
arn: String
The ARN of the graph snapshot.
source_graph_id: Option<String>
The graph identifier for the graph for which a snapshot is to be created.
snapshot_create_time: Option<DateTime>
The time when the snapshot was created.
status: Option<SnapshotStatus>
The status of the graph snapshot.
kms_key_identifier: Option<String>
The ID of the KMS key used to encrypt and decrypt the snapshot.
Implementations§
source§impl GetGraphSnapshotOutput
impl GetGraphSnapshotOutput
sourcepub fn name(&self) -> &str
pub fn name(&self) -> &str
The snapshot name. For example: my-snapshot-1
.
The name must contain from 1 to 63 letters, numbers, or hyphens, and its first character must be a letter. It cannot end with a hyphen or contain two consecutive hyphens.
sourcepub fn source_graph_id(&self) -> Option<&str>
pub fn source_graph_id(&self) -> Option<&str>
The graph identifier for the graph for which a snapshot is to be created.
sourcepub fn snapshot_create_time(&self) -> Option<&DateTime>
pub fn snapshot_create_time(&self) -> Option<&DateTime>
The time when the snapshot was created.
sourcepub fn status(&self) -> Option<&SnapshotStatus>
pub fn status(&self) -> Option<&SnapshotStatus>
The status of the graph snapshot.
sourcepub fn kms_key_identifier(&self) -> Option<&str>
pub fn kms_key_identifier(&self) -> Option<&str>
The ID of the KMS key used to encrypt and decrypt the snapshot.
source§impl GetGraphSnapshotOutput
impl GetGraphSnapshotOutput
sourcepub fn builder() -> GetGraphSnapshotOutputBuilder
pub fn builder() -> GetGraphSnapshotOutputBuilder
Creates a new builder-style object to manufacture GetGraphSnapshotOutput
.
Trait Implementations§
source§impl Clone for GetGraphSnapshotOutput
impl Clone for GetGraphSnapshotOutput
source§fn clone(&self) -> GetGraphSnapshotOutput
fn clone(&self) -> GetGraphSnapshotOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetGraphSnapshotOutput
impl Debug for GetGraphSnapshotOutput
source§impl PartialEq for GetGraphSnapshotOutput
impl PartialEq for GetGraphSnapshotOutput
source§fn eq(&self, other: &GetGraphSnapshotOutput) -> bool
fn eq(&self, other: &GetGraphSnapshotOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for GetGraphSnapshotOutput
impl RequestId for GetGraphSnapshotOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for GetGraphSnapshotOutput
Auto Trait Implementations§
impl Freeze for GetGraphSnapshotOutput
impl RefUnwindSafe for GetGraphSnapshotOutput
impl Send for GetGraphSnapshotOutput
impl Sync for GetGraphSnapshotOutput
impl Unpin for GetGraphSnapshotOutput
impl UnwindSafe for GetGraphSnapshotOutput
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more