pub struct OAuthGatewayConfig {
pub public_url: String,
pub db_path: Option<PathBuf>,
pub admin_token_env: String,
}Fields§
§public_url: String§db_path: Option<PathBuf>§admin_token_env: StringTrait Implementations§
Source§impl Clone for OAuthGatewayConfig
impl Clone for OAuthGatewayConfig
Source§fn clone(&self) -> OAuthGatewayConfig
fn clone(&self) -> OAuthGatewayConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 OAuthGatewayConfig
impl Debug for OAuthGatewayConfig
Source§impl Default for OAuthGatewayConfig
impl Default for OAuthGatewayConfig
Source§impl<'de> Deserialize<'de> for OAuthGatewayConfig
impl<'de> Deserialize<'de> for OAuthGatewayConfig
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
Auto Trait Implementations§
impl Freeze for OAuthGatewayConfig
impl RefUnwindSafe for OAuthGatewayConfig
impl Send for OAuthGatewayConfig
impl Sync for OAuthGatewayConfig
impl Unpin for OAuthGatewayConfig
impl UnsafeUnpin for OAuthGatewayConfig
impl UnwindSafe for OAuthGatewayConfig
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