pub enum SessionEndpointTransportAuthMode {
Bearer,
None,
}Expand description
How a request to the overridden endpoint authenticates, mirroring the TransportAuthMode` spellings. Closed: an undeclared mode fails the decode
rather than degrading to a default.
Variants§
Bearer
Send the api key as a Bearer credential (the default).
None
Send no Authorization header; the transport carries identity.
Trait Implementations§
impl Copy for SessionEndpointTransportAuthMode
Source§impl<'de> Deserialize<'de> for SessionEndpointTransportAuthMode
impl<'de> Deserialize<'de> for SessionEndpointTransportAuthMode
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
impl Eq for SessionEndpointTransportAuthMode
impl StructuralPartialEq for SessionEndpointTransportAuthMode
Auto Trait Implementations§
impl Forget for SessionEndpointTransportAuthMode
impl Freeze for SessionEndpointTransportAuthMode
impl Move for SessionEndpointTransportAuthMode
impl RefUnwindSafe for SessionEndpointTransportAuthMode
impl Send for SessionEndpointTransportAuthMode
impl Sync for SessionEndpointTransportAuthMode
impl Unpin for SessionEndpointTransportAuthMode
impl UnsafeUnpin for SessionEndpointTransportAuthMode
impl UnwindSafe for SessionEndpointTransportAuthMode
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