Struct aws_sdk_glue::types::MetadataInfo
source · #[non_exhaustive]pub struct MetadataInfo {
pub metadata_value: Option<String>,
pub created_time: Option<String>,
pub other_metadata_value_list: Option<Vec<OtherMetadataValueListItem>>,
}Expand description
A structure containing metadata information for a schema version.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.metadata_value: Option<String>The metadata key’s corresponding value.
created_time: Option<String>The time at which the entry was created.
other_metadata_value_list: Option<Vec<OtherMetadataValueListItem>>Other metadata belonging to the same metadata key.
Implementations§
source§impl MetadataInfo
impl MetadataInfo
sourcepub fn metadata_value(&self) -> Option<&str>
pub fn metadata_value(&self) -> Option<&str>
The metadata key’s corresponding value.
sourcepub fn created_time(&self) -> Option<&str>
pub fn created_time(&self) -> Option<&str>
The time at which the entry was created.
sourcepub fn other_metadata_value_list(&self) -> &[OtherMetadataValueListItem]
pub fn other_metadata_value_list(&self) -> &[OtherMetadataValueListItem]
Other metadata belonging to the same metadata key.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .other_metadata_value_list.is_none().
source§impl MetadataInfo
impl MetadataInfo
sourcepub fn builder() -> MetadataInfoBuilder
pub fn builder() -> MetadataInfoBuilder
Creates a new builder-style object to manufacture MetadataInfo.
Trait Implementations§
source§impl Clone for MetadataInfo
impl Clone for MetadataInfo
source§fn clone(&self) -> MetadataInfo
fn clone(&self) -> MetadataInfo
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 MetadataInfo
impl Debug for MetadataInfo
source§impl PartialEq for MetadataInfo
impl PartialEq for MetadataInfo
source§fn eq(&self, other: &MetadataInfo) -> bool
fn eq(&self, other: &MetadataInfo) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for MetadataInfo
Auto Trait Implementations§
impl Freeze for MetadataInfo
impl RefUnwindSafe for MetadataInfo
impl Send for MetadataInfo
impl Sync for MetadataInfo
impl Unpin for MetadataInfo
impl UnwindSafe for MetadataInfo
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
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.