pub struct LibraryParameter {
pub name: String,
pub type_code: String,
pub has_default: bool,
pub default_value: Option<Value>,
}Expand description
One row’s worth of metadata from Library.parameter. use=in only.
Fields§
§name: String§type_code: StringFHIR code element — string, integer, integer64, boolean,
decimal, date, dateTime, instant, time, etc. Required by the
SQLQuery profile (1..1) — missing here is a malformed Library.
has_default: boolWas the parameter declared with a default[X] value? If so we treat
it as optional. The SQLQuery profile does not document defaults; this
is a forward-compatible read for any default* field on the entry.
default_value: Option<Value>Default value as raw JSON, if any.
Trait Implementations§
Source§impl Clone for LibraryParameter
impl Clone for LibraryParameter
Source§fn clone(&self) -> LibraryParameter
fn clone(&self) -> LibraryParameter
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 moreAuto Trait Implementations§
impl Freeze for LibraryParameter
impl RefUnwindSafe for LibraryParameter
impl Send for LibraryParameter
impl Sync for LibraryParameter
impl Unpin for LibraryParameter
impl UnsafeUnpin for LibraryParameter
impl UnwindSafe for LibraryParameter
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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