pub struct HostAdoptArgs {
pub name: String,
pub target: String,
pub port: Option<u16>,
pub identity: Option<PathBuf>,
pub config: Option<String>,
pub push_alias: Option<String>,
}Expand description
Inputs for host adopt.
Fields§
§name: String§target: String§port: Option<u16>§identity: Option<PathBuf>§config: Option<String>Path to the host’s config.toml; if omitted, adopt reads it from the
git-ark forced-command line in the host’s authorized_keys.
push_alias: Option<String>The push alias to record, overriding discovery. Use when ~/.ssh/config
has several stanzas for this target, or none and you want to name it.
Auto Trait Implementations§
impl Freeze for HostAdoptArgs
impl RefUnwindSafe for HostAdoptArgs
impl Send for HostAdoptArgs
impl Sync for HostAdoptArgs
impl Unpin for HostAdoptArgs
impl UnsafeUnpin for HostAdoptArgs
impl UnwindSafe for HostAdoptArgs
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