pub struct ObjectstoreServiceConfig {
pub objectstore_url: Option<String>,
pub max_concurrent_requests: usize,
pub timeout: u64,
}Expand description
Configuration values for the objectstore service.
Fields§
§objectstore_url: Option<String>The base URL for the objectstore service.
This defaults to None, which means that the service will be disabled,
unless a proper configuration is provided.
max_concurrent_requests: usizeMaximum concurrency of uploads.
timeout: u64Maximum duration of an attachment upload in seconds. Uploads that take longer are discarded.
Trait Implementations§
Source§impl Debug for ObjectstoreServiceConfig
impl Debug for ObjectstoreServiceConfig
Source§impl Default for ObjectstoreServiceConfig
impl Default for ObjectstoreServiceConfig
Source§impl<'de> Deserialize<'de> for ObjectstoreServiceConfigwhere
ObjectstoreServiceConfig: Default,
impl<'de> Deserialize<'de> for ObjectstoreServiceConfigwhere
ObjectstoreServiceConfig: Default,
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 ObjectstoreServiceConfig
impl RefUnwindSafe for ObjectstoreServiceConfig
impl Send for ObjectstoreServiceConfig
impl Sync for ObjectstoreServiceConfig
impl Unpin for ObjectstoreServiceConfig
impl UnwindSafe for ObjectstoreServiceConfig
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