pub struct SqlQueryRunParams {
pub format: Option<String>,
pub header: Option<bool>,
pub query_reference: Option<String>,
pub query_resource: Option<Value>,
pub parameters: Option<Value>,
pub source: Option<String>,
pub limit: Option<u32>,
}Expand description
Parameters lifted out of a FHIR Parameters body for $sqlquery-run.
Fields§
§format: Option<String>_format — valueCode (spec) or valueString (lenient). Optional;
defaults to ndjson per SoF v2 PR #353.
header: Option<bool>header — CSV header control (default true).
query_reference: Option<String>queryReference — extracted strictly from valueReference.reference
per the operation’s Reference typing. May be a relative Library/{id}
or an absolute / canonical URL the server can resolve.
query_resource: Option<Value>queryResource — inline Library resource carried in parameter.resource.
parameters: Option<Value>parameters — the nested Parameters resource of name-to-value bindings
carried in parameter.resource. Left as raw JSON; bound after the
Library’s parameter declarations are known.
source: Option<String>source — external data source URL (out of scope v1).
limit: Option<u32>_limit — soft cap on the final result-set size, applied AFTER SQL
evaluation (including any in-query LIMIT). Per SoF v2 PR #353, the
server MAY return fewer rows than requested without erroring;
returning fewer rows than the supplied _limit is not an error.
Trait Implementations§
Source§impl Clone for SqlQueryRunParams
impl Clone for SqlQueryRunParams
Source§fn clone(&self) -> SqlQueryRunParams
fn clone(&self) -> SqlQueryRunParams
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SqlQueryRunParams
impl Debug for SqlQueryRunParams
Source§impl Default for SqlQueryRunParams
impl Default for SqlQueryRunParams
Source§fn default() -> SqlQueryRunParams
fn default() -> SqlQueryRunParams
Auto Trait Implementations§
impl Freeze for SqlQueryRunParams
impl RefUnwindSafe for SqlQueryRunParams
impl Send for SqlQueryRunParams
impl Sync for SqlQueryRunParams
impl Unpin for SqlQueryRunParams
impl UnsafeUnpin for SqlQueryRunParams
impl UnwindSafe for SqlQueryRunParams
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<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