pub struct SqlQueryRunParams {
pub format: Option<String>,
pub header: Option<bool>,
pub parameters: Option<Value>,
pub source: Option<String>,
pub limit: Option<u32>,
}Expand description
Library-specific $sql-run parameters lifted out of a FHIR Parameters
body.
Fields§
§format: Option<String>_format — valueCode (spec) or valueString (lenient). Optional;
defaults to ndjson.
header: Option<bool>header — CSV header control (default true).
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.
Permitted only when the subject is a SQLQuery or SQLView. Supplying it
with a ViewDefinition subject is a 400, because a ViewDefinition
declares no parameters.
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). 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