pub struct ExternalCall {
pub func: String,
pub arg_measures: Vec<MeasureId>,
pub refresh_policy: RefreshPolicy,
}Expand description
A measure defined as func(arg_measures...) where func is a registered
external function. Evaluated host-side per coordinate.
Fields§
§func: StringName of the external function (a key in Model.external_fns).
arg_measures: Vec<MeasureId>The measures supplying the function’s positional arguments, aligned to
the function’s declared arg_types.
refresh_policy: RefreshPolicyWhen this measure should be refreshed (default Manual). Advisory
metadata a scheduler consults; see RefreshPolicy.
Trait Implementations§
Source§impl Clone for ExternalCall
impl Clone for ExternalCall
Source§fn clone(&self) -> ExternalCall
fn clone(&self) -> ExternalCall
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ExternalCall
impl Debug for ExternalCall
Source§impl<'de> Deserialize<'de> for ExternalCall
impl<'de> Deserialize<'de> for ExternalCall
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 Eq for ExternalCall
Source§impl PartialEq for ExternalCall
impl PartialEq for ExternalCall
Source§impl Serialize for ExternalCall
impl Serialize for ExternalCall
impl StructuralPartialEq for ExternalCall
Auto Trait Implementations§
impl Freeze for ExternalCall
impl RefUnwindSafe for ExternalCall
impl Send for ExternalCall
impl Sync for ExternalCall
impl Unpin for ExternalCall
impl UnsafeUnpin for ExternalCall
impl UnwindSafe for ExternalCall
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