Struct aws_sdk_opensearch::types::PackageDetails
source · #[non_exhaustive]pub struct PackageDetails {
pub package_id: Option<String>,
pub package_name: Option<String>,
pub package_type: Option<PackageType>,
pub package_description: Option<String>,
pub package_status: Option<PackageStatus>,
pub created_at: Option<DateTime>,
pub last_updated_at: Option<DateTime>,
pub available_package_version: Option<String>,
pub error_details: Option<ErrorDetails>,
pub engine_version: Option<String>,
pub available_plugin_properties: Option<PluginProperties>,
}
Expand description
Basic information about a package.
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.package_id: Option<String>
The unique identifier of the package.
package_name: Option<String>
The user-specified name of the package.
package_type: Option<PackageType>
The type of package.
package_description: Option<String>
User-specified description of the package.
package_status: Option<PackageStatus>
The current status of the package. The available options are AVAILABLE
, COPYING
, COPY_FAILED
, VALIDATNG
, VALIDATION_FAILED
, DELETING
, and DELETE_FAILED
.
created_at: Option<DateTime>
The timestamp when the package was created.
last_updated_at: Option<DateTime>
Date and time when the package was last updated.
available_package_version: Option<String>
The package version.
error_details: Option<ErrorDetails>
Additional information if the package is in an error state. Null otherwise.
engine_version: Option<String>
Version of OpenSearch or Elasticsearch, in the format Elasticsearch_X.Y or OpenSearch_X.Y. Defaults to the latest version of OpenSearch.
available_plugin_properties: Option<PluginProperties>
If the package is a ZIP-PLUGIN
package, additional information about plugin properties.
Implementations§
source§impl PackageDetails
impl PackageDetails
sourcepub fn package_id(&self) -> Option<&str>
pub fn package_id(&self) -> Option<&str>
The unique identifier of the package.
sourcepub fn package_name(&self) -> Option<&str>
pub fn package_name(&self) -> Option<&str>
The user-specified name of the package.
sourcepub fn package_type(&self) -> Option<&PackageType>
pub fn package_type(&self) -> Option<&PackageType>
The type of package.
sourcepub fn package_description(&self) -> Option<&str>
pub fn package_description(&self) -> Option<&str>
User-specified description of the package.
sourcepub fn package_status(&self) -> Option<&PackageStatus>
pub fn package_status(&self) -> Option<&PackageStatus>
The current status of the package. The available options are AVAILABLE
, COPYING
, COPY_FAILED
, VALIDATNG
, VALIDATION_FAILED
, DELETING
, and DELETE_FAILED
.
sourcepub fn created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
The timestamp when the package was created.
sourcepub fn last_updated_at(&self) -> Option<&DateTime>
pub fn last_updated_at(&self) -> Option<&DateTime>
Date and time when the package was last updated.
sourcepub fn available_package_version(&self) -> Option<&str>
pub fn available_package_version(&self) -> Option<&str>
The package version.
sourcepub fn error_details(&self) -> Option<&ErrorDetails>
pub fn error_details(&self) -> Option<&ErrorDetails>
Additional information if the package is in an error state. Null otherwise.
sourcepub fn engine_version(&self) -> Option<&str>
pub fn engine_version(&self) -> Option<&str>
Version of OpenSearch or Elasticsearch, in the format Elasticsearch_X.Y or OpenSearch_X.Y. Defaults to the latest version of OpenSearch.
sourcepub fn available_plugin_properties(&self) -> Option<&PluginProperties>
pub fn available_plugin_properties(&self) -> Option<&PluginProperties>
If the package is a ZIP-PLUGIN
package, additional information about plugin properties.
source§impl PackageDetails
impl PackageDetails
sourcepub fn builder() -> PackageDetailsBuilder
pub fn builder() -> PackageDetailsBuilder
Creates a new builder-style object to manufacture PackageDetails
.
Trait Implementations§
source§impl Clone for PackageDetails
impl Clone for PackageDetails
source§fn clone(&self) -> PackageDetails
fn clone(&self) -> PackageDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PackageDetails
impl Debug for PackageDetails
source§impl PartialEq for PackageDetails
impl PartialEq for PackageDetails
source§fn eq(&self, other: &PackageDetails) -> bool
fn eq(&self, other: &PackageDetails) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PackageDetails
Auto Trait Implementations§
impl Freeze for PackageDetails
impl RefUnwindSafe for PackageDetails
impl Send for PackageDetails
impl Sync for PackageDetails
impl Unpin for PackageDetails
impl UnwindSafe for PackageDetails
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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