Struct nanocld_client::ConnectOpts
source · pub struct ConnectOpts {
pub url: String,
pub version: Option<String>,
pub ssl: Option<SslConfig>,
}
Fields§
§url: String
Url to connect to
version: Option<String>
Optional version
ssl: Option<SslConfig>
Optional certificate path
Trait Implementations§
source§impl Clone for ConnectOpts
impl Clone for ConnectOpts
source§fn clone(&self) -> ConnectOpts
fn clone(&self) -> ConnectOpts
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 moresource§impl Debug for ConnectOpts
impl Debug for ConnectOpts
Auto Trait Implementations§
impl Freeze for ConnectOpts
impl RefUnwindSafe for ConnectOpts
impl Send for ConnectOpts
impl Sync for ConnectOpts
impl Unpin for ConnectOpts
impl UnwindSafe for ConnectOpts
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