pub enum GatewayAuth {
None,
EnvironmentVariable {
env_key: String,
},
ExternallyConfigured {
env_key: Option<String>,
},
}Expand description
How a custom gateway provider authenticates.
Variants§
None
EnvironmentVariable
ExternallyConfigured
Authentication is configured outside the gateway form. Preserve it on edits.
Trait Implementations§
Source§impl Clone for GatewayAuth
impl Clone for GatewayAuth
Source§impl Debug for GatewayAuth
impl Debug for GatewayAuth
Source§impl<'de> Deserialize<'de> for GatewayAuth
impl<'de> Deserialize<'de> for GatewayAuth
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 GatewayAuth
Source§impl PartialEq for GatewayAuth
impl PartialEq for GatewayAuth
Source§impl Serialize for GatewayAuth
impl Serialize for GatewayAuth
impl StructuralPartialEq for GatewayAuth
Auto Trait Implementations§
impl Forget for GatewayAuth
impl Freeze for GatewayAuth
impl Move for GatewayAuth
impl RefUnwindSafe for GatewayAuth
impl Send for GatewayAuth
impl Sync for GatewayAuth
impl Unpin for GatewayAuth
impl UnsafeUnpin for GatewayAuth
impl UnwindSafe for GatewayAuth
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