pub enum Offer {
ReplaceWrapper {
client: String,
name: String,
command: String,
},
ReviewEntry {
client: String,
name: String,
command: String,
},
SetSecret {
alias: String,
command: String,
},
MachinePath {
server: String,
},
KeyringToken {
command: String,
},
AddRemote {
url: String,
},
}Expand description
A follow-up the wizard offers for an item. Commands name ids and entries, never paths.
Variants§
ReplaceWrapper
“Replace SkillDock wrapper”: overwrite the client’s wrapped entry with the native definition (adopting it).
ReviewEntry
A different native entry: overwrite it, or keep the client’s version.
SetSecret
A value replaced by a reference: store it (extraction wizard).
MachinePath
An absolute command: move it into [os.*] or the machine overlay.
KeyringToken
SkillDock’s GitHub token: move it into the OS keyring for a token
remote. Never copied into the store.
AddRemote
SkillDock’s GitHub backup repository: add it as a git remote.
Trait Implementations§
impl Eq for Offer
impl StructuralPartialEq for Offer
Auto Trait Implementations§
impl Forget for Offer
impl Freeze for Offer
impl Move for Offer
impl RefUnwindSafe for Offer
impl Send for Offerwhere
RawVecInner: Send,
impl Sync for Offerwhere
RawVecInner: Sync,
impl Unpin for Offer
impl UnsafeUnpin for Offer
impl UnwindSafe for Offerwhere
RawVecInner: UnwindSafe,
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
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.