#[non_exhaustive]pub struct TelecomAddressDraft<'a> {
pub purpose: Option<&'a str>,
pub description: Option<&'a str>,
pub user_defined_purpose: Option<&'a str>,
pub pager_number: Option<&'a str>,
pub www_home_page_url: Option<&'a str>,
}Expand description
Draft for one IfcTelecomAddress.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.purpose: Option<&'a str>Purpose, an IfcAddressTypeEnum token.
description: Option<&'a str>Description.
user_defined_purpose: Option<&'a str>UserDefinedPurpose. Required when purpose is USERDEFINED.
pager_number: Option<&'a str>PagerNumber.
www_home_page_url: Option<&'a str>WWWHomePageURL.
Implementations§
Source§impl<'a> TelecomAddressDraft<'a>
impl<'a> TelecomAddressDraft<'a>
Sourcepub fn purpose(self, value: &'a str) -> Self
pub fn purpose(self, value: &'a str) -> Self
Sets Self::purpose: Purpose, an IfcAddressTypeEnum token.
Sourcepub fn description(self, value: &'a str) -> Self
pub fn description(self, value: &'a str) -> Self
Sets Self::description: Description.
Sourcepub fn user_defined_purpose(self, value: &'a str) -> Self
pub fn user_defined_purpose(self, value: &'a str) -> Self
Sets Self::user_defined_purpose: UserDefinedPurpose. Required when purpose is USERDEFINED.
Sourcepub fn pager_number(self, value: &'a str) -> Self
pub fn pager_number(self, value: &'a str) -> Self
Sets Self::pager_number: PagerNumber.
Sourcepub fn www_home_page_url(self, value: &'a str) -> Self
pub fn www_home_page_url(self, value: &'a str) -> Self
Sets Self::www_home_page_url: WWWHomePageURL.
Trait Implementations§
Source§impl<'a> Clone for TelecomAddressDraft<'a>
impl<'a> Clone for TelecomAddressDraft<'a>
Source§fn clone(&self) -> TelecomAddressDraft<'a>
fn clone(&self) -> TelecomAddressDraft<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a> Copy for TelecomAddressDraft<'a>
Source§impl<'a> Debug for TelecomAddressDraft<'a>
impl<'a> Debug for TelecomAddressDraft<'a>
Source§impl<'a> Default for TelecomAddressDraft<'a>
impl<'a> Default for TelecomAddressDraft<'a>
Source§fn default() -> TelecomAddressDraft<'a>
fn default() -> TelecomAddressDraft<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for TelecomAddressDraft<'a>
impl<'a> RefUnwindSafe for TelecomAddressDraft<'a>
impl<'a> Send for TelecomAddressDraft<'a>
impl<'a> Sync for TelecomAddressDraft<'a>
impl<'a> Unpin for TelecomAddressDraft<'a>
impl<'a> UnsafeUnpin for TelecomAddressDraft<'a>
impl<'a> UnwindSafe for TelecomAddressDraft<'a>
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