Struct aws_sdk_elasticsearch::model::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>,
}
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>
Internal ID of the package.
package_name: Option<String>
User specified name of the package.
package_type: Option<PackageType>
Currently supports only TXT-DICTIONARY.
package_description: Option<String>
User-specified description of the package.
package_status: Option<PackageStatus>
Current state of the package. Values are COPYING/COPY_FAILED/AVAILABLE/DELETING/DELETE_FAILED
created_at: Option<DateTime>
Timestamp which tells creation date of the package.
last_updated_at: Option<DateTime>
available_package_version: Option<String>
error_details: Option<ErrorDetails>
Additional information if the package is in an error state. Null otherwise.
Implementations
sourceimpl 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.
sourceimpl PackageDetails
impl PackageDetails
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture PackageDetails
Trait Implementations
sourceimpl Clone for PackageDetails
impl Clone for PackageDetails
sourcefn clone(&self) -> PackageDetails
fn clone(&self) -> PackageDetails
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for PackageDetails
impl Debug for PackageDetails
sourceimpl PartialEq<PackageDetails> for PackageDetails
impl PartialEq<PackageDetails> for PackageDetails
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &PackageDetails) -> bool
fn ne(&self, other: &PackageDetails) -> bool
This method tests for !=
.
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more