Enum TicketOwner
pub enum TicketOwner {
Block([i32; 3]),
Entity(u128),
}Expand description
What a ticket belongs to: a block (a machine) or an entity.
Variants§
Trait Implementations§
§impl Clone for TicketOwner
impl Clone for TicketOwner
§fn clone(&self) -> TicketOwner
fn clone(&self) -> TicketOwner
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TicketOwner
§impl Debug for TicketOwner
impl Debug for TicketOwner
impl Eq for TicketOwner
§impl Hash for TicketOwner
impl Hash for TicketOwner
§impl Ord for TicketOwner
impl Ord for TicketOwner
§fn cmp(&self, other: &TicketOwner) -> Ordering
fn cmp(&self, other: &TicketOwner) -> Ordering
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
§impl PartialEq for TicketOwner
impl PartialEq for TicketOwner
§impl PartialOrd for TicketOwner
impl PartialOrd for TicketOwner
impl StructuralPartialEq for TicketOwner
Auto Trait Implementations§
impl Freeze for TicketOwner
impl RefUnwindSafe for TicketOwner
impl Send for TicketOwner
impl Sync for TicketOwner
impl Unpin for TicketOwner
impl UnsafeUnpin for TicketOwner
impl UnwindSafe for TicketOwner
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