Struct fhir_rs::datatype::complex::ExtendedContactDetail
source · pub struct ExtendedContactDetail {
pub id: Option<Id>,
pub extension: Option<Vec<Extension>>,
pub purpose: Option<CodeableConcept>,
pub name: Option<Vec<HumanName>>,
pub telecom: Option<Vec<ContactPoint>>,
pub address: Option<Address>,
pub organization: Option<Reference>,
pub period: Option<Period>,
}
Fields§
§id: Option<Id>
Unique id for inter-element referencing
extension: Option<Vec<Extension>>
Additional content defined by implementations
purpose: Option<CodeableConcept>
The type of contact
name: Option<Vec<HumanName>>
Name of an individual to contact
telecom: Option<Vec<ContactPoint>>
Contact details (e.g.phone/fax/url)
address: Option<Address>
Address for the contact
organization: Option<Reference>
This contact detail is handled/monitored by a specific organization
period: Option<Period>
Period that this contact was valid for usage
Implementations§
source§impl ExtendedContactDetail
impl ExtendedContactDetail
pub fn set_purpose(self, v: CodeableConcept) -> Self
pub fn set_name(self, v: Vec<HumanName>) -> Self
pub fn add_name(self, v: HumanName) -> Self
pub fn set_telecom(self, v: Vec<ContactPoint>) -> Self
pub fn add_telecom(self, v: ContactPoint) -> Self
pub fn set_address(self, v: Address) -> Self
pub fn set_organization(self, v: Reference) -> Self
pub fn set_period(self, v: Period) -> Self
Trait Implementations§
source§impl Clone for ExtendedContactDetail
impl Clone for ExtendedContactDetail
source§fn clone(&self) -> ExtendedContactDetail
fn clone(&self) -> ExtendedContactDetail
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 ExtendedContactDetail
impl Debug for ExtendedContactDetail
source§impl Default for ExtendedContactDetail
impl Default for ExtendedContactDetail
source§fn default() -> ExtendedContactDetail
fn default() -> ExtendedContactDetail
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ExtendedContactDetail
impl<'de> Deserialize<'de> for ExtendedContactDetail
fn deserialize<De>(deserializer: De) -> Result<Self>where
De: Deserializer<'de>,
source§impl Element for ExtendedContactDetail
impl Element for ExtendedContactDetail
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 ExtendedContactDetail
impl Serialize for ExtendedContactDetail
Auto Trait Implementations§
impl RefUnwindSafe for ExtendedContactDetail
impl Send for ExtendedContactDetail
impl Sync for ExtendedContactDetail
impl Unpin for ExtendedContactDetail
impl UnwindSafe for ExtendedContactDetail
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