Struct atuin_server::settings::Settings
source · pub struct Settings<DbSettings> {
pub host: String,
pub port: u16,
pub path: String,
pub open_registration: bool,
pub max_history_length: usize,
pub max_record_size: usize,
pub page_size: i64,
pub register_webhook_url: Option<String>,
pub register_webhook_username: String,
pub metrics: Metrics,
pub tls: Tls,
pub db_settings: DbSettings,
}Fields§
§host: String§port: u16§path: String§open_registration: bool§max_history_length: usize§max_record_size: usize§page_size: i64§register_webhook_url: Option<String>§register_webhook_username: String§metrics: Metrics§tls: Tls§db_settings: DbSettingsImplementations§
Trait Implementations§
source§impl<'de, DbSettings> Deserialize<'de> for Settings<DbSettings>where
DbSettings: Deserialize<'de>,
impl<'de, DbSettings> Deserialize<'de> for Settings<DbSettings>where
DbSettings: Deserialize<'de>,
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl<DbSettings> RefUnwindSafe for Settings<DbSettings>where
DbSettings: RefUnwindSafe,
impl<DbSettings> Send for Settings<DbSettings>where
DbSettings: Send,
impl<DbSettings> Sync for Settings<DbSettings>where
DbSettings: Sync,
impl<DbSettings> Unpin for Settings<DbSettings>where
DbSettings: Unpin,
impl<DbSettings> UnwindSafe for Settings<DbSettings>where
DbSettings: UnwindSafe,
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