pub struct ServerConfig {
pub snapshot_days: i64,
pub snapshot_versions: u32,
}
Expand description
ServerConfig contains configuration parameters for the server.
Fields§
§snapshot_days: i64
Target number of days between snapshots.
snapshot_versions: u32
Target number of versions between snapshots.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ServerConfig
impl RefUnwindSafe for ServerConfig
impl Send for ServerConfig
impl Sync for ServerConfig
impl Unpin for ServerConfig
impl UnwindSafe for ServerConfig
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