pub struct Provider {
pub device_code_url: String,
pub token_url: String,
pub client_id: String,
}Expand description
A provider’s two endpoints and the app’s public client id (no secret: the device flow has none).
Fields§
§device_code_url: String§token_url: String§client_id: StringImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Provider
impl RefUnwindSafe for Provider
impl Send for Provider
impl Sync for Provider
impl Unpin for Provider
impl UnsafeUnpin for Provider
impl UnwindSafe for Provider
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