pub struct Config {
pub host: Uri,
pub port: u16,
pub insecure: bool,
}Expand description
Configuration for the TMF Client
Fields§
§host: UriThe host URI for the TMF API
port: u16The port to use for the TMF API
insecure: boolThe base path for the TMF API
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Config
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