pub struct PathsMapPathResolver(/* private fields */);
Expand description
Tries to find paths from .paths
with same endpoints and different path’s parameter names
Example:
v1/datasets/{name}/tags
considers the same endpoint as v1/datasets/{uuid}/tags
Right now we do not care about parameter type when merging
Trait Implementations§
Source§impl Clone for PathsMapPathResolver
impl Clone for PathsMapPathResolver
Source§fn clone(&self) -> PathsMapPathResolver
fn clone(&self) -> PathsMapPathResolver
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 Debug for PathsMapPathResolver
impl Debug for PathsMapPathResolver
Source§impl PathResolver for PathsMapPathResolver
impl PathResolver for PathsMapPathResolver
Source§fn new<'a, T>(k1: T, k2: T) -> Self
fn new<'a, T>(k1: T, k2: T) -> Self
Object implementing this trait can determine that two different
keys from src and tgt represents the same object and thus must be mapped
Auto Trait Implementations§
impl Freeze for PathsMapPathResolver
impl RefUnwindSafe for PathsMapPathResolver
impl Send for PathsMapPathResolver
impl Sync for PathsMapPathResolver
impl Unpin for PathsMapPathResolver
impl UnwindSafe for PathsMapPathResolver
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