Application

Struct Application 

Source
pub struct Application {
Show 52 fields pub affiliation_url: Option<String>, pub cert: Option<String>, pub cert_public_key: Option<String>, pub client_id: Option<String>, pub client_secret: Option<String>, pub created_time: Option<String>, pub description: Option<String>, pub display_name: Option<String>, pub enable_auto_signin: Option<bool>, pub enable_code_signin: Option<bool>, pub enable_link_with_email: Option<bool>, pub enable_password: Option<bool>, pub enable_saml_c14n10: Option<bool>, pub enable_saml_compress: Option<bool>, pub enable_saml_post_binding: Option<bool>, pub enable_sign_up: Option<bool>, pub enable_signin_session: Option<bool>, pub enable_web_authn: Option<bool>, pub expire_in_hours: Option<i64>, pub failed_signin_frozen_time: Option<i64>, pub failed_signin_limit: Option<i64>, pub forget_url: Option<String>, pub form_background_url: Option<String>, pub form_css: Option<String>, pub form_css_mobile: Option<String>, pub form_offset: Option<i64>, pub form_side_html: Option<String>, pub grant_types: Option<Vec<String>>, pub homepage_url: Option<String>, pub invitation_codes: Option<Vec<String>>, pub logo: Option<String>, pub name: Option<String>, pub org_choice_mode: Option<String>, pub organization: Option<String>, pub organization_obj: Option<Box<Organization>>, pub owner: Option<String>, pub providers: Option<Vec<ProviderItem>>, pub redirect_uris: Option<Vec<String>>, pub refresh_expire_in_hours: Option<i64>, pub saml_attributes: Option<Vec<SamlItem>>, pub saml_reply_url: Option<String>, pub signin_html: Option<String>, pub signin_methods: Option<Vec<SigninMethod>>, pub signin_url: Option<String>, pub signup_html: Option<String>, pub signup_items: Option<Vec<SignupItem>>, pub signup_url: Option<String>, pub tags: Option<Vec<String>>, pub terms_of_use: Option<String>, pub theme_data: Option<Box<ThemeData>>, pub token_fields: Option<Vec<String>>, pub token_format: Option<String>,
}

Fields§

§affiliation_url: Option<String>§cert: Option<String>§cert_public_key: Option<String>§client_id: Option<String>§client_secret: Option<String>§created_time: Option<String>§description: Option<String>§display_name: Option<String>§enable_auto_signin: Option<bool>§enable_code_signin: Option<bool>§enable_link_with_email: Option<bool>§enable_password: Option<bool>§enable_saml_c14n10: Option<bool>§enable_saml_compress: Option<bool>§enable_saml_post_binding: Option<bool>§enable_sign_up: Option<bool>§enable_signin_session: Option<bool>§enable_web_authn: Option<bool>§expire_in_hours: Option<i64>§failed_signin_frozen_time: Option<i64>§failed_signin_limit: Option<i64>§forget_url: Option<String>§form_background_url: Option<String>§form_css: Option<String>§form_css_mobile: Option<String>§form_offset: Option<i64>§form_side_html: Option<String>§grant_types: Option<Vec<String>>§homepage_url: Option<String>§invitation_codes: Option<Vec<String>>§name: Option<String>§org_choice_mode: Option<String>§organization: Option<String>§organization_obj: Option<Box<Organization>>§owner: Option<String>§providers: Option<Vec<ProviderItem>>§redirect_uris: Option<Vec<String>>§refresh_expire_in_hours: Option<i64>§saml_attributes: Option<Vec<SamlItem>>§saml_reply_url: Option<String>§signin_html: Option<String>§signin_methods: Option<Vec<SigninMethod>>§signin_url: Option<String>§signup_html: Option<String>§signup_items: Option<Vec<SignupItem>>§signup_url: Option<String>§tags: Option<Vec<String>>§terms_of_use: Option<String>§theme_data: Option<Box<ThemeData>>§token_fields: Option<Vec<String>>§token_format: Option<String>

Implementations§

Trait Implementations§

Source§

impl Clone for Application

Source§

fn clone(&self) -> Application

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Application

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for Application

Source§

fn default() -> Application

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for Application

Source§

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 PartialEq for Application

Source§

fn eq(&self, other: &Application) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for Application

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for Application

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> PolicyExt for T
where T: ?Sized,

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,