pub struct Event<'m> { /* private fields */ }Expand description
A borrowed view of an IfcEvent, read against one release.
Implementations§
Source§impl<'m> Event<'m>
impl<'m> Event<'m>
Sourcepub fn release(&self) -> SchemaVersion
pub fn release(&self) -> SchemaVersion
The release this event is read against.
Sourcepub fn object_type(&self) -> Option<&'m str>
pub fn object_type(&self) -> Option<&'m str>
The object type, which the schema requires when PredefinedType is
USERDEFINED.
Sourcepub fn identification(&self) -> Option<&'m str>
pub fn identification(&self) -> Option<&'m str>
The user-facing identification code.
Sourcepub fn long_description(&self) -> Option<&'m str>
pub fn long_description(&self) -> Option<&'m str>
The long description.
Sourcepub fn predefined_type(&self) -> Option<&'m str>
pub fn predefined_type(&self) -> Option<&'m str>
The predefined type token, without its dots.
Sourcepub fn trigger_type(&self) -> Option<&'m str>
pub fn trigger_type(&self) -> Option<&'m str>
What triggers the event, as an enum token.
Sourcepub fn user_defined_trigger_type(&self) -> Option<&'m str>
pub fn user_defined_trigger_type(&self) -> Option<&'m str>
UserDefinedEventTriggerType, which the schema requires when
EventTriggerType is USERDEFINED (#234).
Trait Implementations§
Auto Trait Implementations§
impl<'m> Freeze for Event<'m>
impl<'m> RefUnwindSafe for Event<'m>
impl<'m> Send for Event<'m>
impl<'m> Sync for Event<'m>
impl<'m> Unpin for Event<'m>
impl<'m> UnsafeUnpin for Event<'m>
impl<'m> UnwindSafe for Event<'m>
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