pub struct ProviderLinkBinding<'a> { /* private fields */ }Expand description
Immutable operation boundary used to validate provider pagination links.
Implementations§
Source§impl<'a> ProviderLinkBinding<'a>
impl<'a> ProviderLinkBinding<'a>
Sourcepub const fn new(
endpoint: EndpointIdentity<'a>,
method: Method,
operation: OperationId,
path: RequestPath<'a>,
) -> Self
pub const fn new( endpoint: EndpointIdentity<'a>, method: Method, operation: OperationId, path: RequestPath<'a>, ) -> Self
Binds links to one endpoint, method, operation, and exact path pattern.
Trait Implementations§
Source§impl<'a> Clone for ProviderLinkBinding<'a>
impl<'a> Clone for ProviderLinkBinding<'a>
Source§fn clone(&self) -> ProviderLinkBinding<'a>
fn clone(&self) -> ProviderLinkBinding<'a>
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 moreimpl<'a> Copy for ProviderLinkBinding<'a>
Auto Trait Implementations§
impl<'a> Freeze for ProviderLinkBinding<'a>
impl<'a> RefUnwindSafe for ProviderLinkBinding<'a>
impl<'a> Send for ProviderLinkBinding<'a>
impl<'a> Sync for ProviderLinkBinding<'a>
impl<'a> Unpin for ProviderLinkBinding<'a>
impl<'a> UnsafeUnpin for ProviderLinkBinding<'a>
impl<'a> UnwindSafe for ProviderLinkBinding<'a>
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