pub enum Schemes {
Bearer,
BasicOrBearer,
}Expand description
Which Authorization schemes a surface accepts.
Variants§
Bearer
Bearer only — the HTTP API, the browse pages and MCP.
BasicOrBearer
Basic as well — WebDAV, whose clients prompt for a username and password.
Trait Implementations§
impl Copy for Schemes
impl Eq for Schemes
impl StructuralPartialEq for Schemes
Auto Trait Implementations§
impl Freeze for Schemes
impl RefUnwindSafe for Schemes
impl Send for Schemes
impl Sync for Schemes
impl Unpin for Schemes
impl UnsafeUnpin for Schemes
impl UnwindSafe for Schemes
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