#[non_exhaustive]pub struct IdMatcher {
pub ids: Vec<String>,
/* private fields */
}Expand description
Matcher for Features of an EntityType by Feature ID.
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.ids: Vec<String>Required. The following are accepted as ids:
- A single-element list containing only
*, which selects all Features in the target EntityType, or - A list containing only Feature IDs, which selects only Features with those IDs in the target EntityType.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for IdMatcher
impl<'de> Deserialize<'de> for IdMatcher
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
impl StructuralPartialEq for IdMatcher
Auto Trait Implementations§
impl Freeze for IdMatcher
impl RefUnwindSafe for IdMatcher
impl Send for IdMatcher
impl Sync for IdMatcher
impl Unpin for IdMatcher
impl UnwindSafe for IdMatcher
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