pub enum ProposalKind {
Shell(String),
Slash(String),
Restart,
Reply(String),
}Expand description
What a proposal does when the user accepts it.
Variants§
Shell(String)
Shell command, inserted as !<cmd> (murmur’s shell mode). Insert-only.
Slash(String)
Slash command, inserted as /<cmd>. Insert-only.
Restart
Restart the proposing agent. Executable. No target by construction.
Reply(String)
Trait Implementations§
Source§impl Clone for ProposalKind
impl Clone for ProposalKind
Source§impl Debug for ProposalKind
impl Debug for ProposalKind
impl Eq for ProposalKind
Source§impl PartialEq for ProposalKind
impl PartialEq for ProposalKind
impl StructuralPartialEq for ProposalKind
Auto Trait Implementations§
impl Freeze for ProposalKind
impl RefUnwindSafe for ProposalKind
impl Send for ProposalKind
impl Sync for ProposalKind
impl Unpin for ProposalKind
impl UnsafeUnpin for ProposalKind
impl UnwindSafe for ProposalKind
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.