#[non_exhaustive]pub enum Property {
EoCloudCover(EoCloudCoverInput),
LandsatCloudCoverLand(LandsatCloudCoverLandInput),
Platform(PlatformInput),
ViewOffNadir(ViewOffNadirInput),
ViewSunAzimuth(ViewSunAzimuthInput),
ViewSunElevation(ViewSunElevationInput),
Unknown,
}
Expand description
Represents a single searchable property to search on.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
EoCloudCover(EoCloudCoverInput)
The structure representing EoCloudCover property filter containing a lower bound and upper bound.
LandsatCloudCoverLand(LandsatCloudCoverLandInput)
The structure representing Land Cloud Cover property filter for Landsat collection containing a lower bound and upper bound.
Platform(PlatformInput)
The structure representing Platform property filter consisting of value and comparison operator.
ViewOffNadir(ViewOffNadirInput)
The structure representing ViewOffNadir property filter containing a lower bound and upper bound.
ViewSunAzimuth(ViewSunAzimuthInput)
The structure representing ViewSunAzimuth property filter containing a lower bound and upper bound.
ViewSunElevation(ViewSunElevationInput)
The structure representing ViewSunElevation property filter containing a lower bound and upper bound.
Unknown
The Unknown
variant represents cases where new union variant was received. Consider upgrading the SDK to the latest available version.
An unknown enum variant
Note: If you encounter this error, consider upgrading your SDK to the latest version.
The Unknown
variant represents cases where the server sent a value that wasn’t recognized
by the client. This can happen when the server adds new functionality, but the client has not been updated.
To investigate this, consider turning on debug logging to print the raw HTTP response.
Implementations§
source§impl Property
impl Property
sourcepub fn as_eo_cloud_cover(&self) -> Result<&EoCloudCoverInput, &Self>
pub fn as_eo_cloud_cover(&self) -> Result<&EoCloudCoverInput, &Self>
Tries to convert the enum instance into EoCloudCover
, extracting the inner EoCloudCoverInput
.
Returns Err(&Self)
if it can’t be converted.
sourcepub fn is_eo_cloud_cover(&self) -> bool
pub fn is_eo_cloud_cover(&self) -> bool
Returns true if this is a EoCloudCover
.
sourcepub fn as_landsat_cloud_cover_land(
&self
) -> Result<&LandsatCloudCoverLandInput, &Self>
pub fn as_landsat_cloud_cover_land( &self ) -> Result<&LandsatCloudCoverLandInput, &Self>
Tries to convert the enum instance into LandsatCloudCoverLand
, extracting the inner LandsatCloudCoverLandInput
.
Returns Err(&Self)
if it can’t be converted.
sourcepub fn is_landsat_cloud_cover_land(&self) -> bool
pub fn is_landsat_cloud_cover_land(&self) -> bool
Returns true if this is a LandsatCloudCoverLand
.
sourcepub fn as_platform(&self) -> Result<&PlatformInput, &Self>
pub fn as_platform(&self) -> Result<&PlatformInput, &Self>
Tries to convert the enum instance into Platform
, extracting the inner PlatformInput
.
Returns Err(&Self)
if it can’t be converted.
sourcepub fn is_platform(&self) -> bool
pub fn is_platform(&self) -> bool
Returns true if this is a Platform
.
sourcepub fn as_view_off_nadir(&self) -> Result<&ViewOffNadirInput, &Self>
pub fn as_view_off_nadir(&self) -> Result<&ViewOffNadirInput, &Self>
Tries to convert the enum instance into ViewOffNadir
, extracting the inner ViewOffNadirInput
.
Returns Err(&Self)
if it can’t be converted.
sourcepub fn is_view_off_nadir(&self) -> bool
pub fn is_view_off_nadir(&self) -> bool
Returns true if this is a ViewOffNadir
.
sourcepub fn as_view_sun_azimuth(&self) -> Result<&ViewSunAzimuthInput, &Self>
pub fn as_view_sun_azimuth(&self) -> Result<&ViewSunAzimuthInput, &Self>
Tries to convert the enum instance into ViewSunAzimuth
, extracting the inner ViewSunAzimuthInput
.
Returns Err(&Self)
if it can’t be converted.
sourcepub fn is_view_sun_azimuth(&self) -> bool
pub fn is_view_sun_azimuth(&self) -> bool
Returns true if this is a ViewSunAzimuth
.
sourcepub fn as_view_sun_elevation(&self) -> Result<&ViewSunElevationInput, &Self>
pub fn as_view_sun_elevation(&self) -> Result<&ViewSunElevationInput, &Self>
Tries to convert the enum instance into ViewSunElevation
, extracting the inner ViewSunElevationInput
.
Returns Err(&Self)
if it can’t be converted.
sourcepub fn is_view_sun_elevation(&self) -> bool
pub fn is_view_sun_elevation(&self) -> bool
Returns true if this is a ViewSunElevation
.
sourcepub fn is_unknown(&self) -> bool
pub fn is_unknown(&self) -> bool
Returns true if the enum instance is the Unknown
variant.