Struct fhir_rs::datatype::complex::ContactPoint
source · pub struct ContactPoint {
pub id: Option<Id>,
pub extension: Option<Vec<Extension>>,
pub system: Option<CodeDt>,
pub value: Option<StringDt>,
pub use_: Option<CodeDt>,
pub rank: Option<PositiveIntDt>,
pub period: Option<Period>,
}
Fields§
§id: Option<Id>
Unique id for inter-element referencing
extension: Option<Vec<Extension>>
Additional content defined by implementations
system: Option<CodeDt>
phone | fax | email | pager | url | sms | other
value: Option<StringDt>
The actual contact point details
use_: Option<CodeDt>
home | work | temp | old | mobile - purpose of this contact point
rank: Option<PositiveIntDt>
Specify preferred order of use (1 = highest)
period: Option<Period>
Time period when the contact point was/is in use
Implementations§
source§impl ContactPoint
impl ContactPoint
Trait Implementations§
source§impl Clone for ContactPoint
impl Clone for ContactPoint
source§fn clone(&self) -> ContactPoint
fn clone(&self) -> ContactPoint
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 ContactPoint
impl Debug for ContactPoint
source§impl Default for ContactPoint
impl Default for ContactPoint
source§fn default() -> ContactPoint
fn default() -> ContactPoint
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ContactPoint
impl<'de> Deserialize<'de> for ContactPoint
fn deserialize<De>(deserializer: De) -> Result<Self>where
De: Deserializer<'de>,
source§impl Element for ContactPoint
impl Element for ContactPoint
fn has_id(&self) -> bool
fn id(&self) -> &Option<String>
fn set_id<T: Into<String>>(self, id: T) -> Self
fn has_extension(&self) -> bool
fn extension(&self) -> &Option<Vec<Extension>>
fn set_extension(self, ext: Vec<Extension>) -> Self
fn add_extension(self, ext: Extension) -> Self
source§impl Serialize for ContactPoint
impl Serialize for ContactPoint
Auto Trait Implementations§
impl RefUnwindSafe for ContactPoint
impl Send for ContactPoint
impl Sync for ContactPoint
impl Unpin for ContactPoint
impl UnwindSafe for ContactPoint
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