pub enum AuthResolution {
Provided {
request: AuthRequest,
credentials: MetadataMap,
},
Cancelled {
request: AuthRequest,
},
}Variants§
Implementations§
Source§impl AuthResolution
impl AuthResolution
pub fn request(&self) -> &AuthRequest
Trait Implementations§
Source§impl Clone for AuthResolution
impl Clone for AuthResolution
Source§fn clone(&self) -> AuthResolution
fn clone(&self) -> AuthResolution
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 AuthResolution
impl Debug for AuthResolution
Source§impl<'de> Deserialize<'de> for AuthResolution
impl<'de> Deserialize<'de> for AuthResolution
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AuthResolution
impl PartialEq for AuthResolution
Source§impl Serialize for AuthResolution
impl Serialize for AuthResolution
impl Eq for AuthResolution
impl StructuralPartialEq for AuthResolution
Auto Trait Implementations§
impl Freeze for AuthResolution
impl RefUnwindSafe for AuthResolution
impl Send for AuthResolution
impl Sync for AuthResolution
impl Unpin for AuthResolution
impl UnsafeUnpin for AuthResolution
impl UnwindSafe for AuthResolution
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