pub struct TargetPath { /* private fields */ }Implementations§
Source§impl TargetPath
impl TargetPath
pub fn parse_application(path: &str) -> Result<Self, CoreError>
pub fn parse_discovery(path: &str) -> Result<Self, CoreError>
pub fn application( target: impl Into<String>, subject: impl Into<String>, ) -> Result<Self, CoreError>
pub fn discovery(target: impl Into<String>) -> Result<Self, CoreError>
pub fn target(&self) -> &str
pub fn subject(&self) -> &str
Trait Implementations§
Source§impl Clone for TargetPath
impl Clone for TargetPath
Source§fn clone(&self) -> TargetPath
fn clone(&self) -> TargetPath
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TargetPath
impl Debug for TargetPath
Source§impl Display for TargetPath
impl Display for TargetPath
impl Eq for TargetPath
Source§impl Hash for TargetPath
impl Hash for TargetPath
Source§impl Ord for TargetPath
impl Ord for TargetPath
Source§fn cmp(&self, other: &TargetPath) -> Ordering
fn cmp(&self, other: &TargetPath) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TargetPath
impl PartialEq for TargetPath
Source§impl PartialOrd for TargetPath
impl PartialOrd for TargetPath
impl StructuralPartialEq for TargetPath
Auto Trait Implementations§
impl Freeze for TargetPath
impl RefUnwindSafe for TargetPath
impl Send for TargetPath
impl Sync for TargetPath
impl Unpin for TargetPath
impl UnsafeUnpin for TargetPath
impl UnwindSafe for TargetPath
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