Struct aws_sdk_elasticsearch::types::PackageDetails
source · #[non_exhaustive]pub struct PackageDetails { /* private fields */ }Expand description
Basic information about a package.
Implementations§
source§impl PackageDetails
impl PackageDetails
sourcepub fn package_id(&self) -> Option<&str>
pub fn package_id(&self) -> Option<&str>
Internal ID of the package.
sourcepub fn package_name(&self) -> Option<&str>
pub fn package_name(&self) -> Option<&str>
User specified name of the package.
sourcepub fn package_type(&self) -> Option<&PackageType>
pub fn package_type(&self) -> Option<&PackageType>
Currently supports only TXT-DICTIONARY.
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>
Current state of the package. Values are COPYING/COPY_FAILED/AVAILABLE/DELETING/DELETE_FAILED
sourcepub fn created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
Timestamp which tells creation date of the package.
pub fn last_updated_at(&self) -> Option<&DateTime>
pub fn available_package_version(&self) -> Option<&str>
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.
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
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 PackageDetails
impl Debug for PackageDetails
source§impl PartialEq<PackageDetails> for PackageDetails
impl PartialEq<PackageDetails> for PackageDetails
source§fn eq(&self, other: &PackageDetails) -> bool
fn eq(&self, other: &PackageDetails) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for PackageDetails
Auto Trait Implementations§
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
Mutably borrows from an owned value. Read more