pub enum FunctionEffect {
Pure,
Write,
Host,
}Expand description
VAPP-194 (E1): what calling a function does. Expressions are PURE: a
binding, visible, a computed field or a query param never writes. A
write changes records or the surface data, a host function reaches
outside the surface (a toast, an MCP call, a link, another action); both
run only as steps of a package action (crate::host::actions).
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for FunctionEffect
impl Clone for FunctionEffect
impl Copy for FunctionEffect
Source§impl Debug for FunctionEffect
impl Debug for FunctionEffect
impl Eq for FunctionEffect
Source§impl PartialEq for FunctionEffect
impl PartialEq for FunctionEffect
impl StructuralPartialEq for FunctionEffect
Auto Trait Implementations§
impl Freeze for FunctionEffect
impl RefUnwindSafe for FunctionEffect
impl Send for FunctionEffect
impl Sync for FunctionEffect
impl Unpin for FunctionEffect
impl UnsafeUnpin for FunctionEffect
impl UnwindSafe for FunctionEffect
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.