Struct libtaos::TaosCfgBuilder
source · pub struct TaosCfgBuilder { /* private fields */ }
Expand description
Builder for TaosCfg
.
Implementations§
source§impl TaosCfgBuilder
impl TaosCfgBuilder
pub fn scheme<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn ip<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn user<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn pass<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn db<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn port<VALUE: Into<u16>>(&mut self, value: VALUE) -> &mut Self
pub fn token<VALUE: Into<Option<String>>>(&mut self, value: VALUE) -> &mut Self
Trait Implementations§
source§impl Clone for TaosCfgBuilder
impl Clone for TaosCfgBuilder
source§fn clone(&self) -> TaosCfgBuilder
fn clone(&self) -> TaosCfgBuilder
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 more