pub struct ContactPoint {
pub id: Option<String>,
pub extension: Option<Vec<Box<Extension>>>,
pub system: Option<Box<ContactPointSystem>>,
pub value: Option<Box<FHIRString>>,
pub use_: Option<Box<ContactPointUse>>,
pub rank: Option<Box<FHIRPositiveInt>>,
pub period: Option<Box<Period>>,
}Expand description
Details for all kinds of technology mediated contact points for a person or organization, including telephone, email, etc.
Fields§
§id: Option<String>Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
extension: Option<Vec<Box<Extension>>>May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
system: Option<Box<ContactPointSystem>>Telecommunications form for contact point - what communications system is required to make use of the contact.
value: Option<Box<FHIRString>>The actual contact point details, in a form that is meaningful to the designated communication system (i.e. phone number or email address).
use_: Option<Box<ContactPointUse>>Identifies the purpose for the contact point.
rank: Option<Box<FHIRPositiveInt>>Specifies a preferred order in which to use a set of contacts. ContactPoints with lower rank values are more preferred than those with higher rank values.
period: Option<Box<Period>>Time period when the contact point was/is in use.
Trait Implementations§
Source§impl Clone for ContactPoint
impl Clone for ContactPoint
Source§fn clone(&self) -> ContactPoint
fn clone(&self) -> ContactPoint
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
Source§impl FHIRJSONDeserializer for ContactPoint
impl FHIRJSONDeserializer for ContactPoint
Source§impl FHIRJSONSerializer for ContactPoint
impl FHIRJSONSerializer for ContactPoint
fn serialize_value( &self, writer: &mut dyn Write, ) -> Result<bool, SerializeError>
fn serialize_extension( &self, writer: &mut dyn Write, ) -> Result<bool, SerializeError>
fn serialize_field( &self, field: &str, writer: &mut dyn Write, ) -> Result<bool, SerializeError>
fn is_fp_primitive(&self) -> bool
Source§impl MetaValue for ContactPoint
impl MetaValue for ContactPoint
fn fields(&self) -> Vec<&'static str>
fn get_field<'a>(&'a self, field: &str) -> Option<&'a dyn MetaValue>
fn get_field_mut<'a>(&'a mut self, field: &str) -> Option<&'a mut dyn MetaValue>
fn get_index_mut<'a>( &'a mut self, index: usize, ) -> Option<&'a mut dyn MetaValue>
fn get_index<'a>(&'a self, _index: usize) -> Option<&'a dyn MetaValue>
fn typename(&self) -> &'static str
fn as_any(&self) -> &dyn Any
fn flatten(&self) -> Vec<&dyn MetaValue>
Auto Trait Implementations§
impl Freeze for ContactPoint
impl RefUnwindSafe for ContactPoint
impl Send for ContactPoint
impl Sync for ContactPoint
impl Unpin for ContactPoint
impl UnsafeUnpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more