pub enum EntityKind {
Account,
Commodity,
Transaction,
Split,
Tag,
Price,
SshKey,
Condition,
}Expand description
Kind tag for one server-entity wasm struct. Each variant maps to a
concrete $<kind> GC struct registered in
CompileContext::new_skeleton, plus a set of typed field accessors
in the native registry. Adding an entity adds one variant here +
one row in the nomi_entity! macro invocation; the compiler and
host-side allocators pick up the rest by expansion.
Variants§
Account
Commodity
Transaction
Split
Tag
Price
SshKey
Condition
Error condition raised by (error 'code "msg") and caught by
(handler-case). Maps to the $nomi_condition struct registered
for exception support; the clause variable e binds at this kind so
(error-code e) / (error-message e) type-check.
Implementations§
Trait Implementations§
Source§impl Clone for EntityKind
impl Clone for EntityKind
Source§fn clone(&self) -> EntityKind
fn clone(&self) -> EntityKind
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 EntityKind
impl Debug for EntityKind
Source§impl Display for EntityKind
impl Display for EntityKind
Source§impl Hash for EntityKind
impl Hash for EntityKind
Source§impl PartialEq for EntityKind
impl PartialEq for EntityKind
impl Copy for EntityKind
impl Eq for EntityKind
impl StructuralPartialEq for EntityKind
Auto Trait Implementations§
impl Freeze for EntityKind
impl RefUnwindSafe for EntityKind
impl Send for EntityKind
impl Sync for EntityKind
impl Unpin for EntityKind
impl UnsafeUnpin for EntityKind
impl UnwindSafe for EntityKind
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