Struct fhirbolt_shared::path::ElementPath
source · pub struct ElementPath { /* private fields */ }Implementations§
source§impl ElementPath
impl ElementPath
pub fn new(fhir_release: FhirRelease) -> ElementPath
pub fn is_empty(&self) -> bool
pub fn current_element(&self) -> Option<&str>
pub fn current_element_is_resource(&self) -> bool
pub fn current_element_is_primitive(&self) -> bool
pub fn current_element_is_sequence(&self) -> bool
pub fn current_element_is_boolean(&self) -> bool
pub fn current_element_is_integer(&self) -> bool
pub fn current_element_is_unsigned_integer(&self) -> bool
pub fn current_element_is_positive_integer(&self) -> bool
pub fn current_element_is_decimal(&self) -> bool
pub fn parent_element_is_boolean(&self) -> bool
pub fn parent_element_is_integer(&self) -> bool
pub fn parent_element_is_unsigned_integer(&self) -> bool
pub fn parent_element_is_positive_integer(&self) -> bool
pub fn parent_element_is_decimal(&self) -> bool
pub fn currently_in_extension(&self) -> bool
pub fn push(&mut self, element: &str)
pub fn pop(&mut self)
pub fn children(&self) -> Option<&'static ElementSet>
pub fn position_of_child(&self, child: &str) -> usize
Trait Implementations§
source§impl Clone for ElementPath
impl Clone for ElementPath
source§fn clone(&self) -> ElementPath
fn clone(&self) -> ElementPath
Returns a copy 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 ElementPath
impl Debug for ElementPath
source§impl Default for ElementPath
impl Default for ElementPath
source§fn default() -> ElementPath
fn default() -> ElementPath
Returns the “default value” for a type. Read more