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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)