pub struct InstallAliasResult {
pub shell: Shell,
pub outcome: InstallAliasOutcome,
pub rc_path: String,
pub rc_path_display: String,
pub source_command: String,
}Fields§
§shell: Shell§outcome: InstallAliasOutcome§rc_path: String§rc_path_display: String§source_command: StringThe shell sourcing command the user needs to pick up the
alias now (without restarting the shell). Surfaced so the
rendered message can suggest e.g. source ~/.zshrc.
Trait Implementations§
Source§impl Clone for InstallAliasResult
impl Clone for InstallAliasResult
Source§fn clone(&self) -> InstallAliasResult
fn clone(&self) -> InstallAliasResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InstallAliasResult
impl Debug for InstallAliasResult
Auto Trait Implementations§
impl Freeze for InstallAliasResult
impl RefUnwindSafe for InstallAliasResult
impl Send for InstallAliasResult
impl Sync for InstallAliasResult
impl Unpin for InstallAliasResult
impl UnsafeUnpin for InstallAliasResult
impl UnwindSafe for InstallAliasResult
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