pub struct Settings {Show 14 fields
pub auth: &'static str,
pub allowed: Option<Vec<String>>,
pub restricted: Vec<String>,
pub anonymous_read: bool,
pub max_object_size: Option<u64>,
pub repo_quota: Option<u64>,
pub max_concurrent_transfers: usize,
pub compression: bool,
pub encryption: bool,
pub presign: bool,
pub locking: bool,
pub gc_grace_seconds: u64,
pub lock_max_age_seconds: Option<u64>,
pub forges: Vec<NamedForge>,
}Fields§
§auth: &'static str§allowed: Option<Vec<String>>§restricted: Vec<String>§anonymous_read: bool§max_object_size: Option<u64>§repo_quota: Option<u64>§max_concurrent_transfers: usize§compression: bool§encryption: bool§presign: bool§locking: bool§gc_grace_seconds: u64§lock_max_age_seconds: Option<u64>§forges: Vec<NamedForge>Trait 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