#[non_exhaustive]pub struct OrganizationDraft<'a> {
pub identification: Option<&'a str>,
pub name: &'a str,
pub description: Option<&'a str>,
}Expand description
Authored fields for IfcOrganization.
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.identification: Option<&'a str>IfcOrganization.Identification.
name: &'a strIfcOrganization.Name. Required by the schema.
description: Option<&'a str>IfcOrganization.Description.
Implementations§
Source§impl<'a> OrganizationDraft<'a>
impl<'a> OrganizationDraft<'a>
Sourcepub fn identification(self, value: &'a str) -> Self
pub fn identification(self, value: &'a str) -> Self
Sets Self::identification: IfcOrganization.Identification.
Sourcepub fn description(self, value: &'a str) -> Self
pub fn description(self, value: &'a str) -> Self
Sets Self::description: IfcOrganization.Description.
Trait Implementations§
Source§impl<'a> Clone for OrganizationDraft<'a>
impl<'a> Clone for OrganizationDraft<'a>
impl<'a> Copy for OrganizationDraft<'a>
Source§impl<'a> Debug for OrganizationDraft<'a>
impl<'a> Debug for OrganizationDraft<'a>
Auto Trait Implementations§
impl<'a> Freeze for OrganizationDraft<'a>
impl<'a> RefUnwindSafe for OrganizationDraft<'a>
impl<'a> Send for OrganizationDraft<'a>
impl<'a> Sync for OrganizationDraft<'a>
impl<'a> Unpin for OrganizationDraft<'a>
impl<'a> UnsafeUnpin for OrganizationDraft<'a>
impl<'a> UnwindSafe for OrganizationDraft<'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