pub struct Parameter {
pub name: &'static str,
pub usage: ParameterUse,
pub cardinality: Cardinality,
pub type_code: Option<&'static str>,
pub scope: &'static [&'static str],
pub parts: &'static [Parameter],
pub source: ParameterSource,
}Expand description
One declared parameter, with its parts.
Fields§
§name: &'static strThe parameter name as it appears in Parameters.parameter.name.
usage: ParameterUseThe direction.
cardinality: CardinalityThe cardinality.
type_code: Option<&'static str>The FHIR type code, None for a multi-part parameter.
scope: &'static [&'static str]The invocation levels the parameter applies to; empty means every level.
parts: &'static [Parameter]The nested parts.
source: ParameterSourceWhere the parameter comes from.
Implementations§
Trait Implementations§
impl Copy for Parameter
impl Eq for Parameter
impl StructuralPartialEq for Parameter
Auto Trait Implementations§
impl Freeze for Parameter
impl RefUnwindSafe for Parameter
impl Send for Parameter
impl Sync for Parameter
impl Unpin for Parameter
impl UnsafeUnpin for Parameter
impl UnwindSafe for Parameter
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