Struct SourceFeatureQueryOptions
#[non_exhaustive]pub struct SourceFeatureQueryOptions {
pub source_layer_ids: Option<Vec<String>>,
pub filter: Option<JsonValue>,
}Expand description
Options for source feature queries.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.source_layer_ids: Option<Vec<String>>§filter: Option<JsonValue>Implementations§
§impl SourceFeatureQueryOptions
impl SourceFeatureQueryOptions
pub fn new() -> SourceFeatureQueryOptions
pub fn with_source_layer_ids( self, source_layer_ids: Vec<String>, ) -> SourceFeatureQueryOptions
pub fn without_source_layer_ids(self) -> SourceFeatureQueryOptions
pub fn with_filter(self, filter: JsonValue) -> SourceFeatureQueryOptions
pub fn without_filter(self) -> SourceFeatureQueryOptions
Trait Implementations§
§impl Clone for SourceFeatureQueryOptions
impl Clone for SourceFeatureQueryOptions
§fn clone(&self) -> SourceFeatureQueryOptions
fn clone(&self) -> SourceFeatureQueryOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for SourceFeatureQueryOptions
impl Debug for SourceFeatureQueryOptions
§impl Default for SourceFeatureQueryOptions
impl Default for SourceFeatureQueryOptions
§fn default() -> SourceFeatureQueryOptions
fn default() -> SourceFeatureQueryOptions
Returns the “default value” for a type. Read more
§impl PartialEq for SourceFeatureQueryOptions
impl PartialEq for SourceFeatureQueryOptions
impl StructuralPartialEq for SourceFeatureQueryOptions
Auto Trait Implementations§
impl Freeze for SourceFeatureQueryOptions
impl RefUnwindSafe for SourceFeatureQueryOptions
impl Send for SourceFeatureQueryOptions
impl Sync for SourceFeatureQueryOptions
impl Unpin for SourceFeatureQueryOptions
impl UnsafeUnpin for SourceFeatureQueryOptions
impl UnwindSafe for SourceFeatureQueryOptions
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