pub enum MatchRulePathSpec<'m> {
Path(ObjectPath<'m>),
PathNamespace(ObjectPath<'m>),
}
Expand description
The path or path namespace.
Variants§
Path(ObjectPath<'m>)
PathNamespace(ObjectPath<'m>)
Implementations§
Source§impl<'m> MatchRulePathSpec<'m>
impl<'m> MatchRulePathSpec<'m>
Sourcepub fn into_owned(self) -> MatchRulePathSpec<'static>
pub fn into_owned(self) -> MatchRulePathSpec<'static>
Creates an owned clone of self
.
Trait Implementations§
Source§impl<'m> Clone for MatchRulePathSpec<'m>
impl<'m> Clone for MatchRulePathSpec<'m>
Source§fn clone(&self) -> MatchRulePathSpec<'m>
fn clone(&self) -> MatchRulePathSpec<'m>
Returns a copy 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 moreSource§impl<'m> Debug for MatchRulePathSpec<'m>
impl<'m> Debug for MatchRulePathSpec<'m>
Source§impl<'m> Hash for MatchRulePathSpec<'m>
impl<'m> Hash for MatchRulePathSpec<'m>
Source§impl<'m> PartialEq for MatchRulePathSpec<'m>
impl<'m> PartialEq for MatchRulePathSpec<'m>
impl<'m> Eq for MatchRulePathSpec<'m>
impl<'m> StructuralPartialEq for MatchRulePathSpec<'m>
Auto Trait Implementations§
impl<'m> Freeze for MatchRulePathSpec<'m>
impl<'m> RefUnwindSafe for MatchRulePathSpec<'m>
impl<'m> Send for MatchRulePathSpec<'m>
impl<'m> Sync for MatchRulePathSpec<'m>
impl<'m> Unpin for MatchRulePathSpec<'m>
impl<'m> UnwindSafe for MatchRulePathSpec<'m>
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