#[non_exhaustive]pub struct PropertiesBuilder { /* private fields */ }
Expand description
A builder for Properties
.
Implementations§
source§impl PropertiesBuilder
impl PropertiesBuilder
sourcepub fn eo_cloud_cover(self, input: f32) -> Self
pub fn eo_cloud_cover(self, input: f32) -> Self
Estimate of cloud cover.
sourcepub fn set_eo_cloud_cover(self, input: Option<f32>) -> Self
pub fn set_eo_cloud_cover(self, input: Option<f32>) -> Self
Estimate of cloud cover.
sourcepub fn get_eo_cloud_cover(&self) -> &Option<f32>
pub fn get_eo_cloud_cover(&self) -> &Option<f32>
Estimate of cloud cover.
sourcepub fn view_off_nadir(self, input: f32) -> Self
pub fn view_off_nadir(self, input: f32) -> Self
The angle from the sensor between nadir (straight down) and the scene center. Measured in degrees (0-90).
sourcepub fn set_view_off_nadir(self, input: Option<f32>) -> Self
pub fn set_view_off_nadir(self, input: Option<f32>) -> Self
The angle from the sensor between nadir (straight down) and the scene center. Measured in degrees (0-90).
sourcepub fn get_view_off_nadir(&self) -> &Option<f32>
pub fn get_view_off_nadir(&self) -> &Option<f32>
The angle from the sensor between nadir (straight down) and the scene center. Measured in degrees (0-90).
sourcepub fn view_sun_azimuth(self, input: f32) -> Self
pub fn view_sun_azimuth(self, input: f32) -> Self
The sun azimuth angle. From the scene center point on the ground, this is the angle between truth north and the sun. Measured clockwise in degrees (0-360).
sourcepub fn set_view_sun_azimuth(self, input: Option<f32>) -> Self
pub fn set_view_sun_azimuth(self, input: Option<f32>) -> Self
The sun azimuth angle. From the scene center point on the ground, this is the angle between truth north and the sun. Measured clockwise in degrees (0-360).
sourcepub fn get_view_sun_azimuth(&self) -> &Option<f32>
pub fn get_view_sun_azimuth(&self) -> &Option<f32>
The sun azimuth angle. From the scene center point on the ground, this is the angle between truth north and the sun. Measured clockwise in degrees (0-360).
sourcepub fn view_sun_elevation(self, input: f32) -> Self
pub fn view_sun_elevation(self, input: f32) -> Self
The sun elevation angle. The angle from the tangent of the scene center point to the sun. Measured from the horizon in degrees (-90-90). Negative values indicate the sun is below the horizon, e.g. sun elevation of -10° means the data was captured during nautical twilight.
sourcepub fn set_view_sun_elevation(self, input: Option<f32>) -> Self
pub fn set_view_sun_elevation(self, input: Option<f32>) -> Self
The sun elevation angle. The angle from the tangent of the scene center point to the sun. Measured from the horizon in degrees (-90-90). Negative values indicate the sun is below the horizon, e.g. sun elevation of -10° means the data was captured during nautical twilight.
sourcepub fn get_view_sun_elevation(&self) -> &Option<f32>
pub fn get_view_sun_elevation(&self) -> &Option<f32>
The sun elevation angle. The angle from the tangent of the scene center point to the sun. Measured from the horizon in degrees (-90-90). Negative values indicate the sun is below the horizon, e.g. sun elevation of -10° means the data was captured during nautical twilight.
sourcepub fn platform(self, input: impl Into<String>) -> Self
pub fn platform(self, input: impl Into<String>) -> Self
Platform property. Platform refers to the unique name of the specific platform the instrument is attached to. For satellites it is the name of the satellite, eg. landsat-8 (Landsat-8), sentinel-2a.
sourcepub fn set_platform(self, input: Option<String>) -> Self
pub fn set_platform(self, input: Option<String>) -> Self
Platform property. Platform refers to the unique name of the specific platform the instrument is attached to. For satellites it is the name of the satellite, eg. landsat-8 (Landsat-8), sentinel-2a.
sourcepub fn get_platform(&self) -> &Option<String>
pub fn get_platform(&self) -> &Option<String>
Platform property. Platform refers to the unique name of the specific platform the instrument is attached to. For satellites it is the name of the satellite, eg. landsat-8 (Landsat-8), sentinel-2a.
sourcepub fn landsat_cloud_cover_land(self, input: f32) -> Self
pub fn landsat_cloud_cover_land(self, input: f32) -> Self
Land cloud cover for Landsat Data Collection.
sourcepub fn set_landsat_cloud_cover_land(self, input: Option<f32>) -> Self
pub fn set_landsat_cloud_cover_land(self, input: Option<f32>) -> Self
Land cloud cover for Landsat Data Collection.
sourcepub fn get_landsat_cloud_cover_land(&self) -> &Option<f32>
pub fn get_landsat_cloud_cover_land(&self) -> &Option<f32>
Land cloud cover for Landsat Data Collection.
sourcepub fn build(self) -> Properties
pub fn build(self) -> Properties
Consumes the builder and constructs a Properties
.
Trait Implementations§
source§impl Clone for PropertiesBuilder
impl Clone for PropertiesBuilder
source§fn clone(&self) -> PropertiesBuilder
fn clone(&self) -> PropertiesBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PropertiesBuilder
impl Debug for PropertiesBuilder
source§impl Default for PropertiesBuilder
impl Default for PropertiesBuilder
source§fn default() -> PropertiesBuilder
fn default() -> PropertiesBuilder
source§impl PartialEq for PropertiesBuilder
impl PartialEq for PropertiesBuilder
source§fn eq(&self, other: &PropertiesBuilder) -> bool
fn eq(&self, other: &PropertiesBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.