pub struct CreateApplicationParams {Show 17 fields
pub name: String,
pub client_type: ClientType,
pub redirect_uris: Vec<String>,
pub is_trusted: bool,
pub created_by: Option<UserId>,
pub logo_url: Option<String>,
pub primary_color: Option<String>,
pub accent_hex: Option<String>,
pub accent_ink: Option<AccentInk>,
pub forced_mode: Option<Mode>,
pub font_css_url: Option<String>,
pub font_family: Option<String>,
pub splash_text: Option<String>,
pub splash_image_url: Option<String>,
pub splash_primitive: Option<SplashPrimitive>,
pub splash_url: Option<String>,
pub shader_cell_scale: Option<i64>,
}Expand description
Parameters for registering a new OIDC application via Db::create_application.
Fields§
§name: String§client_type: ClientType§redirect_uris: Vec<String>§is_trusted: bool§created_by: Option<UserId>§logo_url: Option<String>§primary_color: Option<String>§accent_hex: Option<String>§accent_ink: Option<AccentInk>§forced_mode: Option<Mode>§font_css_url: Option<String>§font_family: Option<String>§splash_text: Option<String>§splash_image_url: Option<String>§splash_primitive: Option<SplashPrimitive>§splash_url: Option<String>§shader_cell_scale: Option<i64>Auto Trait Implementations§
impl Freeze for CreateApplicationParams
impl RefUnwindSafe for CreateApplicationParams
impl Send for CreateApplicationParams
impl Sync for CreateApplicationParams
impl Unpin for CreateApplicationParams
impl UnsafeUnpin for CreateApplicationParams
impl UnwindSafe for CreateApplicationParams
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more