pub struct OAuthFlow {
pub device_authorization_url: Option<String>,
pub flow_type: String,
pub authorization_url: Option<String>,
pub token_url: Option<String>,
pub refresh_url: Option<String>,
pub scopes: BTreeMap<String, String>,
}Expand description
One named OAuth2 flow, including its token endpoints and advertised scopes.
Fields§
§flow_type: String§token_url: Option<String>§refresh_url: Option<String>§scopes: BTreeMap<String, String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for OAuthFlow
impl<'de> Deserialize<'de> for OAuthFlow
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 OAuthFlow
impl StructuralPartialEq for OAuthFlow
Auto Trait Implementations§
impl Freeze for OAuthFlow
impl RefUnwindSafe for OAuthFlow
impl Send for OAuthFlow
impl Sync for OAuthFlow
impl Unpin for OAuthFlow
impl UnsafeUnpin for OAuthFlow
impl UnwindSafe for OAuthFlow
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