pub struct OpcoesExec {
pub password: Option<String>,
pub sudo_password: Option<String>,
pub su_password: Option<String>,
pub timeout: Option<u64>,
pub key: Option<String>,
pub key_passphrase: Option<String>,
pub description: Option<String>,
pub replace_host_key: bool,
pub disable_sudo: bool,
}Expand description
Opções comuns de execução remota.
Fields§
§password: Option<String>Override senha.
sudo_password: Option<String>Override sudo.
su_password: Option<String>Override su.
timeout: Option<u64>Override timeout.
key: Option<String>Override key path.
key_passphrase: Option<String>Override key passphrase.
description: Option<String>Optional shell description comment.
replace_host_key: boolreplace host key.
disable_sudo: booldisable sudo global.
Trait Implementations§
Source§impl Clone for OpcoesExec
impl Clone for OpcoesExec
Source§fn clone(&self) -> OpcoesExec
fn clone(&self) -> OpcoesExec
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 OpcoesExec
impl Debug for OpcoesExec
Source§impl Default for OpcoesExec
impl Default for OpcoesExec
Source§fn default() -> OpcoesExec
fn default() -> OpcoesExec
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for OpcoesExec
impl RefUnwindSafe for OpcoesExec
impl Send for OpcoesExec
impl Sync for OpcoesExec
impl Unpin for OpcoesExec
impl UnsafeUnpin for OpcoesExec
impl UnwindSafe for OpcoesExec
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