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 duplicate 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 Compare for ContactPoint
impl Compare for ContactPoint
Source§impl Convert for ContactPoint
impl Convert for ContactPoint
fn to_integer(&self) -> Result<Integer>
fn to_decimal(&self) -> Result<Decimal>
fn to_strings(&self) -> Result<String>
fn to_datetime(&self) -> Result<DateTime>
fn to_boolean(&self) -> Result<Boolean>
Source§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
Source§impl Executor for ContactPoint
impl Executor for ContactPoint
fn element(&self, symbol: &String, index: &Option<usize>) -> Result<Collection>
fn to_collection(&self, index: &Option<usize>) -> Collection
fn child(&self, _index: usize) -> Result<Collection>
Source§impl Serialize for ContactPoint
impl Serialize for ContactPoint
impl DataType for ContactPoint
Auto Trait Implementations§
impl Freeze for ContactPoint
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