pub struct ActorRole<'m, 's> { /* private fields */ }Expand description
A borrowed, schema-resolved IfcActorRole projection.
Enforces IfcActorRole.WR1: a USERDEFINED role must carry
UserDefinedRole.
Implementations§
Source§impl<'m, 's> ActorRole<'m, 's>
impl<'m, 's> ActorRole<'m, 's>
Sourcepub fn role(&self) -> ResourceResult<&'m str>
pub fn role(&self) -> ResourceResult<&'m str>
The Role enumeration.
Sourcepub fn user_defined_role(&self) -> ResourceResult<Option<&'m str>>
pub fn user_defined_role(&self) -> ResourceResult<Option<&'m str>>
The UserDefinedRole attribute, when authored.
Sourcepub fn description(&self) -> ResourceResult<Option<&'m str>>
pub fn description(&self) -> ResourceResult<Option<&'m str>>
The Description attribute, when authored.
Trait Implementations§
Auto Trait Implementations§
impl<'m, 's> Freeze for ActorRole<'m, 's>
impl<'m, 's> RefUnwindSafe for ActorRole<'m, 's>
impl<'m, 's> Send for ActorRole<'m, 's>
impl<'m, 's> Sync for ActorRole<'m, 's>
impl<'m, 's> Unpin for ActorRole<'m, 's>
impl<'m, 's> UnsafeUnpin for ActorRole<'m, 's>
impl<'m, 's> UnwindSafe for ActorRole<'m, 's>
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