pub struct BoundClient<'a> {
pub client_id: Cow<'a, str>,
pub redirect_uri: Cow<'a, RegisteredUrl>,
}Expand description
A client and its chosen redirection endpoint.
This instance can be used to complete parameter negotiation with the registrar. In the simplest case this only includes agreeing on a scope allowed for the client.
Fields§
§client_id: Cow<'a, str>The identifier of the client, moved from the request.
redirect_uri: Cow<'a, RegisteredUrl>The chosen redirection endpoint url, moved from the request or overwritten.
Trait Implementations§
Source§impl<'a> Clone for BoundClient<'a>
impl<'a> Clone for BoundClient<'a>
Source§fn clone(&self) -> BoundClient<'a>
fn clone(&self) -> BoundClient<'a>
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 moreAuto Trait Implementations§
impl<'a> Freeze for BoundClient<'a>
impl<'a> RefUnwindSafe for BoundClient<'a>
impl<'a> Send for BoundClient<'a>
impl<'a> Sync for BoundClient<'a>
impl<'a> Unpin for BoundClient<'a>
impl<'a> UnwindSafe for BoundClient<'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