pub enum ReferenceSearch<'a, V: FhirVersion> {
Standard {
name: &'a str,
resource_type: V::ResourceType,
id: &'a str,
version_id: Option<&'a str>,
},
Url {
name: &'a str,
url: &'a str,
version_id: Option<&'a str>,
},
Identifier {
name: &'a str,
system: Option<&'a str>,
value: Option<&'a str>,
},
Chaining {
name: &'a str,
resource_type: Option<V::ResourceType>,
target_name: &'a str,
value: &'a str,
},
}Expand description
Search in references. Includes chaining, i.e. querying fields of the target resource.
Only implements most common functionality. Refer to adding raw queries when this does not suffice.
Variants§
Standard
Standard reference search by relative reference.
Fields
§
resource_type: V::ResourceTypeResource type of the resource.
Url
Standard reference search by absolute URL.
Fields
Identifier
Reference search by the .identifier field.
Fields
Chaining
Reference search with chaining. This means the server searches for references that target a resource with the given field and value.
Trait Implementations§
Source§impl<'a, V: Clone + FhirVersion> Clone for ReferenceSearch<'a, V>where
V::ResourceType: Clone,
impl<'a, V: Clone + FhirVersion> Clone for ReferenceSearch<'a, V>where
V::ResourceType: Clone,
impl<'a, V: Copy + FhirVersion> Copy for ReferenceSearch<'a, V>where
V::ResourceType: Copy,
Source§impl<'a, V: Debug + FhirVersion> Debug for ReferenceSearch<'a, V>where
V::ResourceType: Debug,
impl<'a, V: Debug + FhirVersion> Debug for ReferenceSearch<'a, V>where
V::ResourceType: Debug,
Auto Trait Implementations§
impl<'a, V> Freeze for ReferenceSearch<'a, V>
impl<'a, V> RefUnwindSafe for ReferenceSearch<'a, V>where
<V as FhirVersion>::ResourceType: RefUnwindSafe,
Option<<V as FhirVersion>::ResourceType>: RefUnwindSafe,
impl<'a, V> Send for ReferenceSearch<'a, V>
impl<'a, V> Sync for ReferenceSearch<'a, V>
impl<'a, V> Unpin for ReferenceSearch<'a, V>
impl<'a, V> UnsafeUnpin for ReferenceSearch<'a, V>where
<V as FhirVersion>::ResourceType: UnsafeUnpin,
Option<<V as FhirVersion>::ResourceType>: UnsafeUnpin,
impl<'a, V> UnwindSafe for ReferenceSearch<'a, V>where
<V as FhirVersion>::ResourceType: UnwindSafe,
Option<<V as FhirVersion>::ResourceType>: UnwindSafe,
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