Struct nomad_client_rs::Config
source · pub struct Config {
pub base_url: String,
pub port: u16,
pub api_version: String,
pub token: Option<String>,
pub allow_insecure_certs: bool,
pub mtls: Option<MTLSConfig>,
}
Fields§
§base_url: String
§port: u16
§api_version: String
§token: Option<String>
§allow_insecure_certs: bool
§mtls: Option<MTLSConfig>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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