pub struct StorageSettings {
pub max_queue_size: usize,
pub retention_days: u32,
}Fields§
§max_queue_size: usizeMaximum number of results to hold in the upload queue
retention_days: u32Trait Implementations§
Source§impl Clone for StorageSettings
impl Clone for StorageSettings
Source§fn clone(&self) -> StorageSettings
fn clone(&self) -> StorageSettings
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StorageSettings
impl Debug for StorageSettings
Source§impl Default for StorageSettings
impl Default for StorageSettings
Source§impl<'de> Deserialize<'de> for StorageSettings
impl<'de> Deserialize<'de> for StorageSettings
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 Freeze for StorageSettings
impl RefUnwindSafe for StorageSettings
impl Send for StorageSettings
impl Sync for StorageSettings
impl Unpin for StorageSettings
impl UnwindSafe for StorageSettings
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