pub struct EventSchema {
pub events: &'static [&'static str],
pub events_info: &'static [&'static EventInfo],
pub domain_identifiers: &'static [&'static DomainIdentifierInfo],
}
Expand description
Represents the schema of all supported events.
The schema contains the names of all supported events, the domain identifiers associated with them, and the domain identifiers’ types.
Fields§
§events: &'static [&'static str]
§events_info: &'static [&'static EventInfo]
§domain_identifiers: &'static [&'static DomainIdentifierInfo]
Implementations§
Source§impl EventSchema
impl EventSchema
pub fn event_info(&self, name: &str) -> Option<&EventInfo>
Trait Implementations§
Source§impl Clone for EventSchema
impl Clone for EventSchema
Source§fn clone(&self) -> EventSchema
fn clone(&self) -> EventSchema
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for EventSchema
impl RefUnwindSafe for EventSchema
impl Send for EventSchema
impl Sync for EventSchema
impl Unpin for EventSchema
impl UnwindSafe for EventSchema
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