#[non_exhaustive]pub struct FhirMatcher {
pub fhir_resources: Vec<String>,
/* private fields */
}Available on crate feature
document-service only.Expand description
Matcher for the Documents by FHIR resource names.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.fhir_resources: Vec<String>Required. The FHIR resources to match by. Format: projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}/fhir/{resource_type}/{fhir_resource_id}
Implementations§
Source§impl FhirMatcher
impl FhirMatcher
pub fn new() -> Self
Sourcepub fn set_fhir_resources<T, V>(self, v: T) -> Self
pub fn set_fhir_resources<T, V>(self, v: T) -> Self
Sets the value of fhir_resources.
§Example
ⓘ
let x = FhirMatcher::new().set_fhir_resources(["a", "b", "c"]);Trait Implementations§
Source§impl Clone for FhirMatcher
impl Clone for FhirMatcher
Source§fn clone(&self) -> FhirMatcher
fn clone(&self) -> FhirMatcher
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FhirMatcher
impl Debug for FhirMatcher
Source§impl Default for FhirMatcher
impl Default for FhirMatcher
Source§fn default() -> FhirMatcher
fn default() -> FhirMatcher
Returns the “default value” for a type. Read more
Source§impl Message for FhirMatcher
impl Message for FhirMatcher
Source§impl PartialEq for FhirMatcher
impl PartialEq for FhirMatcher
impl StructuralPartialEq for FhirMatcher
Auto Trait Implementations§
impl Freeze for FhirMatcher
impl RefUnwindSafe for FhirMatcher
impl Send for FhirMatcher
impl Sync for FhirMatcher
impl Unpin for FhirMatcher
impl UnwindSafe for FhirMatcher
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