pub struct ActionKey(pub u64);Expand description
A flavor’s name for a context action, stable across renders.
Same idea as ChannelKey, for the same reason: the wire identifier is a
free-form string the client stores and echoes back, and a flavor that used
the label as the identifier would break its own buttons the day it renames
one. The label stays a field; this is the identity.
REF: references/vendored/Mumble.proto : ContextActionModify.action and
ContextAction.action are the same string.
Tuple Fields§
§0: u64Trait Implementations§
Source§impl Ord for ActionKey
impl Ord for ActionKey
Source§impl PartialOrd for ActionKey
impl PartialOrd for ActionKey
impl Copy for ActionKey
impl Eq for ActionKey
impl StructuralPartialEq for ActionKey
Auto Trait Implementations§
impl Freeze for ActionKey
impl RefUnwindSafe for ActionKey
impl Send for ActionKey
impl Sync for ActionKey
impl Unpin for ActionKey
impl UnwindSafe for ActionKey
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