Struct aws_sdk_connect::types::View
source · #[non_exhaustive]pub struct View {Show 13 fields
pub id: Option<String>,
pub arn: Option<String>,
pub name: Option<String>,
pub status: Option<ViewStatus>,
pub type: Option<ViewType>,
pub description: Option<String>,
pub version: i32,
pub version_description: Option<String>,
pub content: Option<ViewContent>,
pub tags: Option<HashMap<String, String>>,
pub created_time: Option<DateTime>,
pub last_modified_time: Option<DateTime>,
pub view_content_sha256: Option<String>,
}
Expand description
A view resource object. Contains metadata and content necessary to render the view.
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: Option<String>
The identifier of the view.
arn: Option<String>
The Amazon Resource Name (ARN) of the view.
name: Option<String>
The name of the view.
status: Option<ViewStatus>
Indicates the view status as either SAVED
or PUBLISHED
. The PUBLISHED
status will initiate validation on the content.
type: Option<ViewType>
The type of the view - CUSTOMER_MANAGED
.
description: Option<String>
The description of the view.
version: i32
Current version of the view.
version_description: Option<String>
The description of the version.
content: Option<ViewContent>
View content containing all content necessary to render a view except for runtime input data.
The tags associated with the view resource (not specific to view version).
created_time: Option<DateTime>
The timestamp of when the view was created.
last_modified_time: Option<DateTime>
Latest timestamp of the UpdateViewContent
or CreateViewVersion
operations.
view_content_sha256: Option<String>
Indicates the checksum value of the latest published view content.
Implementations§
source§impl View
impl View
sourcepub fn status(&self) -> Option<&ViewStatus>
pub fn status(&self) -> Option<&ViewStatus>
Indicates the view status as either SAVED
or PUBLISHED
. The PUBLISHED
status will initiate validation on the content.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the view.
sourcepub fn version_description(&self) -> Option<&str>
pub fn version_description(&self) -> Option<&str>
The description of the version.
sourcepub fn content(&self) -> Option<&ViewContent>
pub fn content(&self) -> Option<&ViewContent>
View content containing all content necessary to render a view except for runtime input data.
The tags associated with the view resource (not specific to view version).
sourcepub fn created_time(&self) -> Option<&DateTime>
pub fn created_time(&self) -> Option<&DateTime>
The timestamp of when the view was created.
sourcepub fn last_modified_time(&self) -> Option<&DateTime>
pub fn last_modified_time(&self) -> Option<&DateTime>
Latest timestamp of the UpdateViewContent
or CreateViewVersion
operations.
sourcepub fn view_content_sha256(&self) -> Option<&str>
pub fn view_content_sha256(&self) -> Option<&str>
Indicates the checksum value of the latest published view content.
Trait Implementations§
source§impl PartialEq for View
impl PartialEq for View
impl StructuralPartialEq for View
Auto Trait Implementations§
impl Freeze for View
impl RefUnwindSafe for View
impl Send for View
impl Sync for View
impl Unpin for View
impl UnwindSafe for View
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