pub struct ServerBuilder { /* private fields */ }
Expand description
Builder for Server
.
Implementations§
Source§impl ServerBuilder
impl ServerBuilder
pub fn id(&mut self, value: String) -> &mut Self
pub fn username<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn password<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn private_key<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn passphrase<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn file_permissions<VALUE: Into<String>>( &mut self, value: VALUE, ) -> &mut Self
pub fn directory_permissions<VALUE: Into<String>>( &mut self, value: VALUE, ) -> &mut Self
Trait Implementations§
Source§impl Clone for ServerBuilder
impl Clone for ServerBuilder
Source§fn clone(&self) -> ServerBuilder
fn clone(&self) -> ServerBuilder
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for ServerBuilder
impl RefUnwindSafe for ServerBuilder
impl Send for ServerBuilder
impl Sync for ServerBuilder
impl Unpin for ServerBuilder
impl UnwindSafe for ServerBuilder
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