Struct news_flash::models::login_gui::OAuthLoginGUI
source · pub struct OAuthLoginGUI {
pub login_website: Box<dyn Fn(Option<&ApiSecret>) -> Option<Url>>,
pub catch_redirect: Option<String>,
pub custom_api_secret: bool,
pub custom_api_secret_url: Option<Url>,
pub embeded_api_secret: bool,
pub create_secret_url: Option<Url>,
}
Fields
login_website: Box<dyn Fn(Option<&ApiSecret>) -> Option<Url>>
catch_redirect: Option<String>
custom_api_secret: bool
custom_api_secret_url: Option<Url>
embeded_api_secret: bool
create_secret_url: Option<Url>
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for OAuthLoginGUI
impl !Send for OAuthLoginGUI
impl !Sync for OAuthLoginGUI
impl Unpin for OAuthLoginGUI
impl !UnwindSafe for OAuthLoginGUI
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> IntoSql for T
impl<T> IntoSql for T
sourcefn into_sql<T>(self) -> Self::Expressionwhere
Self: AsExpression<T> + Sized,
T: SqlType + TypedExpressionType,
fn into_sql<T>(self) -> Self::Expressionwhere
Self: AsExpression<T> + Sized,
T: SqlType + TypedExpressionType,
Convert
self
to an expression for Diesel’s query builder. Read moresourcefn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expressionwhere
&'a Self: AsExpression<T>,
T: SqlType + TypedExpressionType,
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expressionwhere
&'a Self: AsExpression<T>,
T: SqlType + TypedExpressionType,
Convert
&self
to an expression for Diesel’s query builder. Read more