Struct RenderedFeatureQueryOptions
#[non_exhaustive]pub struct RenderedFeatureQueryOptions {
pub layer_ids: Option<Vec<String>>,
pub filter: Option<JsonValue>,
}Expand description
Options for rendered 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.layer_ids: Option<Vec<String>>§filter: Option<JsonValue>Implementations§
§impl RenderedFeatureQueryOptions
impl RenderedFeatureQueryOptions
pub fn new() -> RenderedFeatureQueryOptions
pub fn with_layer_ids( self, layer_ids: Vec<String>, ) -> RenderedFeatureQueryOptions
pub fn without_layer_ids(self) -> RenderedFeatureQueryOptions
pub fn with_filter(self, filter: JsonValue) -> RenderedFeatureQueryOptions
pub fn without_filter(self) -> RenderedFeatureQueryOptions
Trait Implementations§
§impl Clone for RenderedFeatureQueryOptions
impl Clone for RenderedFeatureQueryOptions
§fn clone(&self) -> RenderedFeatureQueryOptions
fn clone(&self) -> RenderedFeatureQueryOptions
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 RenderedFeatureQueryOptions
impl Debug for RenderedFeatureQueryOptions
§impl Default for RenderedFeatureQueryOptions
impl Default for RenderedFeatureQueryOptions
§fn default() -> RenderedFeatureQueryOptions
fn default() -> RenderedFeatureQueryOptions
Returns the “default value” for a type. Read more
§impl PartialEq for RenderedFeatureQueryOptions
impl PartialEq for RenderedFeatureQueryOptions
impl StructuralPartialEq for RenderedFeatureQueryOptions
Auto Trait Implementations§
impl Freeze for RenderedFeatureQueryOptions
impl RefUnwindSafe for RenderedFeatureQueryOptions
impl Send for RenderedFeatureQueryOptions
impl Sync for RenderedFeatureQueryOptions
impl Unpin for RenderedFeatureQueryOptions
impl UnsafeUnpin for RenderedFeatureQueryOptions
impl UnwindSafe for RenderedFeatureQueryOptions
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