pub struct FunctionInfo {
pub name: &'static str,
pub signature: &'static str,
pub category: FunctionCategory,
}Expand description
The FHIRPath function catalog and the FHIRPath environment variables,
re-exported for a completion endpoint’s function/variable candidates.
helios_fhirpath is already this crate’s own dependency (used above to
parse every expression this module lints); re-exporting these four items
here — rather than a caller like helios-ui taking a direct
helios-fhirpath dependency of its own just to read a static catalog —
keeps that catalog reachable through the one edge helios-ui already has
to this crate, the same way node_keys exposes the key model instead of
a caller duplicating it.
One entry in the builtin_functions catalog.
Fields§
§name: &'static strThe function’s bare name, as written before the argument list (e.g.
"where" for where(criteria)).
signature: &'static strA human-readable call signature, in name(args) form. Optional
arguments are bracketed (e.g. "round([precision])"); a trailing
... marks a variadic argument (e.g. "coalesce(value, ...)").
Not machine-parsed — for display only.
category: FunctionCategoryThe functional grouping this function belongs to.
Trait Implementations§
Source§impl Clone for FunctionInfo
impl Clone for FunctionInfo
Source§fn clone(&self) -> FunctionInfo
fn clone(&self) -> FunctionInfo
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 FunctionInfo
Source§impl Debug for FunctionInfo
impl Debug for FunctionInfo
impl Eq for FunctionInfo
Source§impl PartialEq for FunctionInfo
impl PartialEq for FunctionInfo
impl StructuralPartialEq for FunctionInfo
Auto Trait Implementations§
impl Freeze for FunctionInfo
impl RefUnwindSafe for FunctionInfo
impl Send for FunctionInfo
impl Sync for FunctionInfo
impl Unpin for FunctionInfo
impl UnsafeUnpin for FunctionInfo
impl UnwindSafe for FunctionInfo
Blanket Implementations§
impl<T> Allocation for T
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,
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
key and return true if they are equal.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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more