pub struct SourceType {
pub name: String,
pub verbose_name: String,
pub urls_customizable: bool,
pub request_token_url: Option<String>,
pub authorization_url: Option<String>,
pub access_token_url: Option<String>,
pub profile_url: Option<String>,
pub oidc_well_known_url: Option<String>,
pub oidc_jwks_url: Option<String>,
}
Expand description
SourceType : Serializer for SourceType
Fields§
§name: String
§verbose_name: String
§urls_customizable: bool
§request_token_url: Option<String>
§access_token_url: Option<String>
§profile_url: Option<String>
§oidc_well_known_url: Option<String>
§oidc_jwks_url: Option<String>
Implementations§
Source§impl SourceType
impl SourceType
Sourcepub fn new(
name: String,
verbose_name: String,
urls_customizable: bool,
request_token_url: Option<String>,
authorization_url: Option<String>,
access_token_url: Option<String>,
profile_url: Option<String>,
oidc_well_known_url: Option<String>,
oidc_jwks_url: Option<String>,
) -> SourceType
pub fn new( name: String, verbose_name: String, urls_customizable: bool, request_token_url: Option<String>, authorization_url: Option<String>, access_token_url: Option<String>, profile_url: Option<String>, oidc_well_known_url: Option<String>, oidc_jwks_url: Option<String>, ) -> SourceType
Serializer for SourceType
Trait Implementations§
Source§impl Clone for SourceType
impl Clone for SourceType
Source§fn clone(&self) -> SourceType
fn clone(&self) -> SourceType
Returns a duplicate of the value. Read more
1.0.0 · 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 SourceType
impl Debug for SourceType
Source§impl Default for SourceType
impl Default for SourceType
Source§fn default() -> SourceType
fn default() -> SourceType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SourceType
impl<'de> Deserialize<'de> for SourceType
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
Source§impl PartialEq for SourceType
impl PartialEq for SourceType
Source§impl Serialize for SourceType
impl Serialize for SourceType
impl StructuralPartialEq for SourceType
Auto Trait Implementations§
impl Freeze for SourceType
impl RefUnwindSafe for SourceType
impl Send for SourceType
impl Sync for SourceType
impl Unpin for SourceType
impl UnwindSafe for SourceType
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