pub enum FormBindingKind {
App,
Fields,
}Expand description
FormBindingKind : app renders the bound Orvanta app as the task’s form, exactly as orvanta:formRef does. fields deliberately keeps the declared-fields fallback: it grants nothing and changes no behaviour, and exists only to turn "nobody has looked at this key" into "somebody looked and the declared fields are right" – which is why its reason is mandatory. There is no fail kind, because an unresolved form key still leaves a completable task.
app renders the bound Orvanta app as the task’s form, exactly as orvanta:formRef does. fields deliberately keeps the declared-fields fallback: it grants nothing and changes no behaviour, and exists only to turn "nobody has looked at this key" into "somebody looked and the declared fields are right" – which is why its reason is mandatory. There is no fail kind, because an unresolved form key still leaves a completable task.
Variants§
Trait Implementations§
Source§impl Clone for FormBindingKind
impl Clone for FormBindingKind
Source§fn clone(&self) -> FormBindingKind
fn clone(&self) -> FormBindingKind
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for FormBindingKind
Source§impl Debug for FormBindingKind
impl Debug for FormBindingKind
Source§impl Default for FormBindingKind
impl Default for FormBindingKind
Source§fn default() -> FormBindingKind
fn default() -> FormBindingKind
Source§impl<'de> Deserialize<'de> for FormBindingKind
impl<'de> Deserialize<'de> for FormBindingKind
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>,
Source§impl Display for FormBindingKind
impl Display for FormBindingKind
impl Eq for FormBindingKind
Source§impl Hash for FormBindingKind
impl Hash for FormBindingKind
Source§impl Ord for FormBindingKind
impl Ord for FormBindingKind
Source§fn cmp(&self, other: &FormBindingKind) -> Ordering
fn cmp(&self, other: &FormBindingKind) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for FormBindingKind
impl PartialEq for FormBindingKind
Source§impl PartialOrd for FormBindingKind
impl PartialOrd for FormBindingKind
Source§impl Serialize for FormBindingKind
impl Serialize for FormBindingKind
impl StructuralPartialEq for FormBindingKind
Auto Trait Implementations§
impl Freeze for FormBindingKind
impl RefUnwindSafe for FormBindingKind
impl Send for FormBindingKind
impl Sync for FormBindingKind
impl Unpin for FormBindingKind
impl UnsafeUnpin for FormBindingKind
impl UnwindSafe for FormBindingKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<T> ErasedDestructor for Twhere
T: 'static,
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> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.