pub struct FlowSet {
pub pk: Uuid,
pub policybindingmodel_ptr_id: Uuid,
pub name: String,
pub slug: String,
pub title: String,
pub designation: FlowDesignationEnum,
pub background_url: String,
pub policy_engine_mode: Option<PolicyEngineMode>,
pub compatibility_mode: Option<bool>,
pub export_url: String,
pub layout: Option<FlowLayoutEnum>,
pub denied_action: Option<DeniedActionEnum>,
}Expand description
FlowSet : Stripped down flow serializer
Fields§
§pk: Uuid§policybindingmodel_ptr_id: Uuid§name: String§slug: StringVisible in the URL.
title: StringShown as the Title in Flow pages.
designation: FlowDesignationEnumDecides what this Flow is used for. For example, the Authentication flow is redirect to when an un-authenticated user visits authentik.
background_url: StringGet the URL to the background image
policy_engine_mode: Option<PolicyEngineMode>§compatibility_mode: Option<bool>Enable compatibility mode, increases compatibility with password managers on mobile devices.
export_url: StringGet export URL for flow
layout: Option<FlowLayoutEnum>§denied_action: Option<DeniedActionEnum>Configure what should happen when a flow denies access to a user.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FlowSet
impl<'de> Deserialize<'de> for FlowSet
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for FlowSet
Auto Trait Implementations§
impl Freeze for FlowSet
impl RefUnwindSafe for FlowSet
impl Send for FlowSet
impl Sync for FlowSet
impl Unpin for FlowSet
impl UnsafeUnpin for FlowSet
impl UnwindSafe for FlowSet
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