pub struct VersioningLayer { /* private fields */ }
Expand description
Tower Layer implementation for VersioningMiddleware
Implementations§
Source§impl VersioningLayer
impl VersioningLayer
Sourcepub fn new(config: VersioningConfig) -> Self
pub fn new(config: VersioningConfig) -> Self
Create a new versioning layer
Trait Implementations§
Source§impl Clone for VersioningLayer
impl Clone for VersioningLayer
Source§fn clone(&self) -> VersioningLayer
fn clone(&self) -> VersioningLayer
Returns a duplicate 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 VersioningLayer
impl Debug for VersioningLayer
Auto Trait Implementations§
impl Freeze for VersioningLayer
impl RefUnwindSafe for VersioningLayer
impl Send for VersioningLayer
impl Sync for VersioningLayer
impl Unpin for VersioningLayer
impl UnwindSafe for VersioningLayer
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