pub struct Call {
pub module_id: Option<Uuid>,
pub id: Uuid,
pub args: Vec<StructureField>,
}Expand description
A call is described like a structure in arora engine.
Fields§
§module_id: Option<Uuid>The ID of the module where to find the function ID. If absent, look for it locally.
id: UuidThe function ID to call.
args: Vec<StructureField>Arguments to call the function with. Their arora types are not known statically — each argument names a field id and carries a value of any type — so on the schema this is an opaque key/value bag.
Trait Implementations§
Source§impl AroraType for Call
impl AroraType for Call
Source§fn arora_type_id() -> Uuid
fn arora_type_id() -> Uuid
The id this type is known by: the id its
arora_type carries, and the
id a field of this type is referenced by.Source§fn arora_type() -> Type
fn arora_type() -> Type
This type’s own definition. Nested user-defined types are named by id in
the field type references; their definitions are obtained from the
registry filled by
register_types.Source§fn register_types(registry: &mut TypeRegistry)
fn register_types(registry: &mut TypeRegistry)
Insert this type and every type it transitively depends on into
registry. Idempotent, and safe for types reachable from themselves.Source§fn arora_type_with_registry() -> (Type, TypeRegistry)
fn arora_type_with_registry() -> (Type, TypeRegistry)
This type’s definition together with a registry holding it and all its
dependencies — everything a walk needs to resolve a value of this type.
Source§impl<'de> Deserialize<'de> for Call
impl<'de> Deserialize<'de> for Call
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 Call
Auto Trait Implementations§
impl Freeze for Call
impl RefUnwindSafe for Call
impl Send for Call
impl Sync for Call
impl Unpin for Call
impl UnsafeUnpin for Call
impl UnwindSafe for Call
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