pub struct S3 {
pub enabled: bool,
pub access_key: Option<String>,
pub secret_key: Option<String>,
pub region: Option<String>,
pub endpoint: Option<String>,
pub allow_http: bool,
pub crates_bucket: String,
pub cratesio_bucket: String,
pub toolchain_bucket: String,
pub connect_timeout_seconds: u64,
pub request_timeout_seconds: u64,
}Fields§
§enabled: bool§access_key: Option<String>§secret_key: Option<String>§region: Option<String>§endpoint: Option<String>§allow_http: bool§crates_bucket: String§cratesio_bucket: String§toolchain_bucket: String§connect_timeout_seconds: u64S3 connect timeout in seconds
request_timeout_seconds: u64S3 request timeout in seconds
Trait Implementations§
Source§impl ClapSerde for S3
impl ClapSerde for S3
Source§impl<'de> Deserialize<'de> for S3
impl<'de> Deserialize<'de> for S3
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
impl Eq for S3
impl StructuralPartialEq for S3
Auto Trait Implementations§
impl Freeze for S3
impl RefUnwindSafe for S3
impl Send for S3
impl Sync for S3
impl Unpin for S3
impl UnsafeUnpin for S3
impl UnwindSafe for S3
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.