pub struct Opt {
pub key: String,
pub label: String,
}Expand description
One option: the reaction key and its label (empty: the key alone).
Fields§
§key: StringThe reaction key (an emoji).
label: StringIts label; empty: the key alone.
Trait Implementations§
impl Eq for Opt
impl StructuralPartialEq for Opt
Auto Trait Implementations§
impl Forget for Opt
impl Freeze for Opt
impl RefUnwindSafe for Opt
impl Send for Opt
impl Sync for Opt
impl Unpin for Opt
impl UnsafeUnpin for Opt
impl UnwindSafe for Opt
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