Struct telescope::env::GithubOauthConfig [−][src]
pub struct GithubOauthConfig {
pub client_id: ClientId,
pub client_secret: ClientSecret,
}
Expand description
Credentials granted by GitHub for the OAuth application. Generated these by creating an application at https://github.com/settings/applications/new/.
Fields
client_id: ClientId
The GitHub OAuth application client id.
client_secret: ClientSecret
The GitHub OAuth application client secret.
Trait Implementations
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 RefUnwindSafe for GithubOauthConfig
impl Send for GithubOauthConfig
impl Sync for GithubOauthConfig
impl Unpin for GithubOauthConfig
impl UnwindSafe for GithubOauthConfig
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
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