Struct aws_sdk_sagemakergeospatial::types::ItemSource
source · #[non_exhaustive]pub struct ItemSource {
pub id: String,
pub geometry: Option<Geometry>,
pub assets: Option<HashMap<String, AssetValue>>,
pub date_time: DateTime,
pub properties: Option<Properties>,
}Expand description
The structure representing the items in the response for SearchRasterDataCollection.
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.id: StringA unique Id for the source item.
geometry: Option<Geometry>The item Geometry in GeoJson format.
assets: Option<HashMap<String, AssetValue>>This is a dictionary of Asset Objects data associated with the Item that can be downloaded or streamed, each with a unique key.
date_time: DateTimeThe searchable date and time of the item, in UTC.
properties: Option<Properties>This field contains additional properties of the item.
Implementations§
source§impl ItemSource
impl ItemSource
sourcepub fn assets(&self) -> Option<&HashMap<String, AssetValue>>
pub fn assets(&self) -> Option<&HashMap<String, AssetValue>>
This is a dictionary of Asset Objects data associated with the Item that can be downloaded or streamed, each with a unique key.
sourcepub fn properties(&self) -> Option<&Properties>
pub fn properties(&self) -> Option<&Properties>
This field contains additional properties of the item.
source§impl ItemSource
impl ItemSource
sourcepub fn builder() -> ItemSourceBuilder
pub fn builder() -> ItemSourceBuilder
Creates a new builder-style object to manufacture ItemSource.
Trait Implementations§
source§impl Clone for ItemSource
impl Clone for ItemSource
source§fn clone(&self) -> ItemSource
fn clone(&self) -> ItemSource
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 ItemSource
impl Debug for ItemSource
source§impl PartialEq for ItemSource
impl PartialEq for ItemSource
source§fn eq(&self, other: &ItemSource) -> bool
fn eq(&self, other: &ItemSource) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ItemSource
Auto Trait Implementations§
impl Freeze for ItemSource
impl RefUnwindSafe for ItemSource
impl Send for ItemSource
impl Sync for ItemSource
impl Unpin for ItemSource
impl UnwindSafe for ItemSource
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.