pub struct ParametersBuilder { /* private fields */ }
Expand description
Builder for ParametersInner
.
Implementations§
Source§impl ParametersBuilder
impl ParametersBuilder
Sourcepub fn id(self, value: String) -> ParametersBuilder
pub fn id(self, value: String) -> ParametersBuilder
Logical id of this artifact
The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.
Within the context of the FHIR RESTful interactions, the resource has an id except for cases like the create and conditional update. Otherwise, the use of the resouce id depends on the given use case.
Sourcepub fn meta(self, value: Meta) -> ParametersBuilder
pub fn meta(self, value: Meta) -> ParametersBuilder
Metadata about the resource
The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.
Sourcepub fn implicit_rules(self, value: String) -> ParametersBuilder
pub fn implicit_rules(self, value: String) -> ParametersBuilder
A set of rules under which this content was created
A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.
Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of its narrative along with other profiles, value sets, etc.
Sourcepub fn language(self, value: String) -> ParametersBuilder
pub fn language(self, value: String) -> ParametersBuilder
Language; Language of the resource content
The base language in which the resource is written.
Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).
Sourcepub fn parameter(
self,
value: Vec<Option<ParametersParameter>>,
) -> ParametersBuilder
pub fn parameter( self, value: Vec<Option<ParametersParameter>>, ) -> ParametersBuilder
Operation Parameter
A parameter passed to or received from the operation.
Sourcepub fn parameter_ext(
self,
value: Vec<Option<FieldExtension>>,
) -> ParametersBuilder
pub fn parameter_ext( self, value: Vec<Option<FieldExtension>>, ) -> ParametersBuilder
Extension field.
Sourcepub fn build_inner(self) -> Result<ParametersInner, BuilderError>
pub fn build_inner(self) -> Result<ParametersInner, BuilderError>
Source§impl ParametersBuilder
impl ParametersBuilder
Sourcepub fn build(self) -> Result<Parameters, BuilderError>
pub fn build(self) -> Result<Parameters, BuilderError>
Finalize building Parameters.