Enum google_api_proto::google::maps::solar::v1::ImageryQuality
source · #[repr(i32)]pub enum ImageryQuality {
Unspecified = 0,
High = 1,
Medium = 2,
Low = 3,
}
Expand description
The quality of the imagery used to compute some API result.
Note: Regardless of imagery quality level, DSM outputs always have a resolution of 0.1 m/pixel, monthly flux outputs always have a resolution of 0.5 m/pixel, and hourly shade outputs always have a resolution of 1 m/pixel.
Variants§
Unspecified = 0
No quality is known.
High = 1
The underlying imagery and DSM data were processed at 0.1 m/pixel.
Medium = 2
The underlying imagery and DSM data were processed at 0.25 m/pixel.
Low = 3
The underlying imagery and DSM data were processed at 0.5 m/pixel.
Implementations§
source§impl ImageryQuality
impl ImageryQuality
sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
source§impl Clone for ImageryQuality
impl Clone for ImageryQuality
source§fn clone(&self) -> ImageryQuality
fn clone(&self) -> ImageryQuality
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ImageryQuality
impl Debug for ImageryQuality
source§impl Default for ImageryQuality
impl Default for ImageryQuality
source§fn default() -> ImageryQuality
fn default() -> ImageryQuality
source§impl From<ImageryQuality> for i32
impl From<ImageryQuality> for i32
source§fn from(value: ImageryQuality) -> i32
fn from(value: ImageryQuality) -> i32
source§impl Hash for ImageryQuality
impl Hash for ImageryQuality
source§impl Ord for ImageryQuality
impl Ord for ImageryQuality
source§fn cmp(&self, other: &ImageryQuality) -> Ordering
fn cmp(&self, other: &ImageryQuality) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for ImageryQuality
impl PartialEq for ImageryQuality
source§fn eq(&self, other: &ImageryQuality) -> bool
fn eq(&self, other: &ImageryQuality) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ImageryQuality
impl PartialOrd for ImageryQuality
source§fn partial_cmp(&self, other: &ImageryQuality) -> Option<Ordering>
fn partial_cmp(&self, other: &ImageryQuality) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moresource§impl TryFrom<i32> for ImageryQuality
impl TryFrom<i32> for ImageryQuality
§type Error = UnknownEnumValue
type Error = UnknownEnumValue
source§fn try_from(value: i32) -> Result<ImageryQuality, UnknownEnumValue>
fn try_from(value: i32) -> Result<ImageryQuality, UnknownEnumValue>
impl Copy for ImageryQuality
impl Eq for ImageryQuality
impl StructuralPartialEq for ImageryQuality
Auto Trait Implementations§
impl Freeze for ImageryQuality
impl RefUnwindSafe for ImageryQuality
impl Send for ImageryQuality
impl Sync for ImageryQuality
impl Unpin for ImageryQuality
impl UnwindSafe for ImageryQuality
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
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request