pub enum OAuthPrompt {
Text {
message: String,
placeholder: Option<String>,
allow_empty: bool,
},
}Expand description
A prompt shown to the user during login.
Variants§
Trait Implementations§
Source§impl Clone for OAuthPrompt
impl Clone for OAuthPrompt
Source§fn clone(&self) -> OAuthPrompt
fn clone(&self) -> OAuthPrompt
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 moreAuto Trait Implementations§
impl Freeze for OAuthPrompt
impl RefUnwindSafe for OAuthPrompt
impl Send for OAuthPrompt
impl Sync for OAuthPrompt
impl Unpin for OAuthPrompt
impl UnsafeUnpin for OAuthPrompt
impl UnwindSafe for OAuthPrompt
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