pub struct OAuth2Spotify {
pub id: String,
pub enabled: bool,
pub client_id: String,
pub client_secret: String,
}Expand description
OAuth2Spotify
Fields§
§id: StringOAuth2 provider ID.
enabled: boolOAuth2 provider is active and can be used to create sessions.
client_id: StringSpotify OAuth2 client ID.
client_secret: StringSpotify OAuth2 client secret.
Implementations§
Trait Implementations§
Source§impl Clone for OAuth2Spotify
impl Clone for OAuth2Spotify
Source§fn clone(&self) -> OAuth2Spotify
fn clone(&self) -> OAuth2Spotify
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 OAuth2Spotify
impl Debug for OAuth2Spotify
Source§impl<'de> Deserialize<'de> for OAuth2Spotify
impl<'de> Deserialize<'de> for OAuth2Spotify
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 Serialize for OAuth2Spotify
impl Serialize for OAuth2Spotify
impl Model for OAuth2Spotify
Auto Trait Implementations§
impl Freeze for OAuth2Spotify
impl RefUnwindSafe for OAuth2Spotify
impl Send for OAuth2Spotify
impl Sync for OAuth2Spotify
impl Unpin for OAuth2Spotify
impl UnsafeUnpin for OAuth2Spotify
impl UnwindSafe for OAuth2Spotify
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