pub struct OpcoesScp {
pub password: Option<String>,
pub key: Option<String>,
pub key_passphrase: Option<String>,
pub timeout: Option<u64>,
pub replace_host_key: bool,
pub json: bool,
}Expand description
Overrides de runtime para o subcomando scp (paridade com exec).
Fields§
§password: Option<String>Senha SSH (já resolvida de flag ou stdin).
key: Option<String>Caminho da chave privada.
key_passphrase: Option<String>Passphrase da chave (já resolvida).
timeout: Option<u64>Timeout total connect+transfer em ms.
replace_host_key: boolSubstitui host key divergente (global --replace-host-key).
json: boolEmite JSON de sucesso (flag local ou formato global).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OpcoesScp
impl RefUnwindSafe for OpcoesScp
impl Send for OpcoesScp
impl Sync for OpcoesScp
impl Unpin for OpcoesScp
impl UnsafeUnpin for OpcoesScp
impl UnwindSafe for OpcoesScp
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