pub struct OgrSourceParameters {
pub attribute_projection: Option<Option<Vec<String>>>,
pub data: String,
}Expand description
OgrSourceParameters : Parameters for the [OgrSource] operator.
Fields§
§attribute_projection: Option<Option<Vec<String>>>Optional: list of attributes to include. When None, all attributes are included.
data: StringDataset name or identifier to be loaded.
Implementations§
Source§impl OgrSourceParameters
impl OgrSourceParameters
Sourcepub fn new(data: String) -> OgrSourceParameters
pub fn new(data: String) -> OgrSourceParameters
Parameters for the [OgrSource] operator.
Trait Implementations§
Source§impl Clone for OgrSourceParameters
impl Clone for OgrSourceParameters
Source§fn clone(&self) -> OgrSourceParameters
fn clone(&self) -> OgrSourceParameters
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 OgrSourceParameters
impl Debug for OgrSourceParameters
Source§impl Default for OgrSourceParameters
impl Default for OgrSourceParameters
Source§fn default() -> OgrSourceParameters
fn default() -> OgrSourceParameters
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OgrSourceParameters
impl<'de> Deserialize<'de> for OgrSourceParameters
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 OgrSourceParameters
impl PartialEq for OgrSourceParameters
Source§fn eq(&self, other: &OgrSourceParameters) -> bool
fn eq(&self, other: &OgrSourceParameters) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for OgrSourceParameters
impl Serialize for OgrSourceParameters
impl StructuralPartialEq for OgrSourceParameters
Auto Trait Implementations§
impl Freeze for OgrSourceParameters
impl RefUnwindSafe for OgrSourceParameters
impl Send for OgrSourceParameters
impl Sync for OgrSourceParameters
impl Unpin for OgrSourceParameters
impl UnsafeUnpin for OgrSourceParameters
impl UnwindSafe for OgrSourceParameters
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