pub struct NodeMatch {
pub is_dir: Option<bool>,
pub extensions: Vec<String>,
pub media_types: Vec<String>,
}Expand description
Metadata-only declarative filter over an ItemRef.
Fields§
§is_dir: Option<bool>§extensions: Vec<String>§media_types: Vec<String>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for NodeMatch
impl<'de> Deserialize<'de> for NodeMatch
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 Eq for NodeMatch
Source§impl From<NodeMatch> for MemberMatch
A plain NodeMatch is the size-1 required member: the ergonomic single-input
case promised by CFM-83’s ADR.
impl From<NodeMatch> for MemberMatch
A plain NodeMatch is the size-1 required member: the ergonomic single-input
case promised by CFM-83’s ADR.
impl StructuralPartialEq for NodeMatch
Auto Trait Implementations§
impl Freeze for NodeMatch
impl RefUnwindSafe for NodeMatch
impl Send for NodeMatch
impl Sync for NodeMatch
impl Unpin for NodeMatch
impl UnsafeUnpin for NodeMatch
impl UnwindSafe for NodeMatch
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