pub struct Settings {
pub server: Option<Url>,
pub api_key: Option<String>,
pub key_source: KeySource,
pub default_tags: Vec<String>,
pub wait_timeout: u64,
pub config_dir: PathBuf,
pub use_keyring: bool,
pub open_browser: bool,
}Fields§
§server: Option<Url>Server origin, e.g. https://semora.example.com.
api_key: Option<String>§key_source: KeySource§wait_timeout: u64§config_dir: PathBuf§use_keyring: bool§open_browser: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for Settings
impl RefUnwindSafe for Settings
impl Send for Settings
impl Sync for Settings
impl Unpin for Settings
impl UnsafeUnpin for Settings
impl UnwindSafe for Settings
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