pub struct EventId(pub u32);Expand description
The id of an in-world scheduled event in the Second Life events
directory (Search → Events) — the numeric handle an events-directory search
result carries and the secondlife:///app/event/<id>/about viewer URI
references.
Unlike the UUID-based keys this is a 32-bit integer (the
reference viewer parses the app-URI id with asInteger() and the
events-directory messages carry it as a U32). It is a newtype rather than a
bare u32 so an events-directory id can’t be transposed with any other
32-bit field.
Tuple Fields§
§0: u32Implementations§
Trait Implementations§
impl Copy for EventId
impl Eq for EventId
Source§impl Ord for EventId
impl Ord for EventId
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for EventId
impl PartialOrd for EventId
impl StructuralPartialEq for EventId
Auto Trait Implementations§
impl Freeze for EventId
impl RefUnwindSafe for EventId
impl Send for EventId
impl Sync for EventId
impl Unpin for EventId
impl UnsafeUnpin for EventId
impl UnwindSafe for EventId
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