pub struct CaptchaStage {Show 14 fields
pub pk: Uuid,
pub name: String,
pub component: String,
pub verbose_name: String,
pub verbose_name_plural: String,
pub meta_model_name: String,
pub flow_set: Vec<FlowSet>,
pub public_key: String,
pub js_url: Option<String>,
pub api_url: Option<String>,
pub interactive: Option<bool>,
pub score_min_threshold: Option<f64>,
pub score_max_threshold: Option<f64>,
pub error_on_invalid_score: Option<bool>,
}Expand description
CaptchaStage : CaptchaStage Serializer
Fields§
§pk: Uuid§name: String§component: StringGet object type so that we know how to edit the object
verbose_name: StringReturn object’s verbose_name
verbose_name_plural: StringReturn object’s plural verbose_name
meta_model_name: StringReturn internal model name
flow_set: Vec<FlowSet>§public_key: StringPublic key, acquired your captcha Provider.
js_url: Option<String>§api_url: Option<String>§interactive: Option<bool>§score_min_threshold: Option<f64>§score_max_threshold: Option<f64>§error_on_invalid_score: Option<bool>When enabled and the received captcha score is outside of the given threshold, the stage will show an error message. When not enabled, the flow will continue, but the data from the captcha will be available in the context for policy decisions
Implementations§
Trait Implementations§
Source§impl Clone for CaptchaStage
impl Clone for CaptchaStage
Source§fn clone(&self) -> CaptchaStage
fn clone(&self) -> CaptchaStage
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CaptchaStage
impl Debug for CaptchaStage
Source§impl Default for CaptchaStage
impl Default for CaptchaStage
Source§fn default() -> CaptchaStage
fn default() -> CaptchaStage
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CaptchaStage
impl<'de> Deserialize<'de> for CaptchaStage
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
Source§impl PartialEq for CaptchaStage
impl PartialEq for CaptchaStage
Source§impl Serialize for CaptchaStage
impl Serialize for CaptchaStage
impl StructuralPartialEq for CaptchaStage
Auto Trait Implementations§
impl Freeze for CaptchaStage
impl RefUnwindSafe for CaptchaStage
impl Send for CaptchaStage
impl Sync for CaptchaStage
impl Unpin for CaptchaStage
impl UnsafeUnpin for CaptchaStage
impl UnwindSafe for CaptchaStage
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