Enum pact_models::http_utils::HttpAuth [−][src]
Expand description
Type of authentication to use
Variants
User(String, Option<String>)
Username and Password
Token(String)
Tuple Fields
0: String
Bearer token
None
No authentication
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for HttpAuth
impl UnwindSafe for HttpAuth
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more