pub struct GdalSourceParameters {
pub data: String,
pub overview_level: Option<Option<i32>>,
}Expand description
GdalSourceParameters : Parameters for the [GdalSource] operator.
Fields§
§data: StringDataset name or identifier to be loaded.
overview_level: Option<Option<i32>>Optional: overview level to use. If not provided, the data source will determine the resolution, i.e., uses its native resolution.
Implementations§
Source§impl GdalSourceParameters
impl GdalSourceParameters
Sourcepub fn new(data: String) -> GdalSourceParameters
pub fn new(data: String) -> GdalSourceParameters
Parameters for the [GdalSource] operator.
Trait Implementations§
Source§impl Clone for GdalSourceParameters
impl Clone for GdalSourceParameters
Source§fn clone(&self) -> GdalSourceParameters
fn clone(&self) -> GdalSourceParameters
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GdalSourceParameters
impl Debug for GdalSourceParameters
Source§impl Default for GdalSourceParameters
impl Default for GdalSourceParameters
Source§fn default() -> GdalSourceParameters
fn default() -> GdalSourceParameters
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GdalSourceParameters
impl<'de> Deserialize<'de> for GdalSourceParameters
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for GdalSourceParameters
impl PartialEq for GdalSourceParameters
Source§fn eq(&self, other: &GdalSourceParameters) -> bool
fn eq(&self, other: &GdalSourceParameters) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for GdalSourceParameters
impl Serialize for GdalSourceParameters
impl StructuralPartialEq for GdalSourceParameters
Auto Trait Implementations§
impl Freeze for GdalSourceParameters
impl RefUnwindSafe for GdalSourceParameters
impl Send for GdalSourceParameters
impl Sync for GdalSourceParameters
impl Unpin for GdalSourceParameters
impl UnsafeUnpin for GdalSourceParameters
impl UnwindSafe for GdalSourceParameters
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