pub struct ConfigS3CreateS3Request {Show 14 fields
pub access_key: String,
pub burst_in: Option<String>,
pub burst_out: Option<String>,
pub endpoint: String,
pub fingerprint: Option<String>,
pub id: String,
pub path_style: Option<bool>,
pub port: Option<i64>,
pub provider_quirks: Option<Vec<PbsProviderQuirksEnum>>,
pub put_rate_limit: Option<i64>,
pub rate_in: Option<String>,
pub rate_out: Option<String>,
pub region: Option<String>,
pub secret_key: String,
}Fields§
§access_key: StringAccess key for S3 object store.
burst_in: Option<String>Byte size with optional unit (B, KB (base 10), MB, GB, …, KiB (base 2), MiB, Gib, …).
burst_out: Option<String>Byte size with optional unit (B, KB (base 10), MB, GB, …, KiB (base 2), MiB, Gib, …).
endpoint: StringEndpoint to access S3 object store.
fingerprint: Option<String>X509 certificate fingerprint (sha256).
id: StringID to uniquely identify s3 client config.
path_style: Option<bool>Use path style bucket addressing over vhost style.
port: Option<i64>Port to access S3 object store.
provider_quirks: Option<Vec<PbsProviderQuirksEnum>>List of provider specific feature implementation quirks.
put_rate_limit: Option<i64>Rate limit for put requests given as #request/s.
rate_in: Option<String>Byte size with optional unit (B, KB (base 10), MB, GB, …, KiB (base 2), MiB, Gib, …).
rate_out: Option<String>Byte size with optional unit (B, KB (base 10), MB, GB, …, KiB (base 2), MiB, Gib, …).
region: Option<String>Region to access S3 object store.
secret_key: StringS3 secret key
Implementations§
Trait Implementations§
Source§impl Clone for ConfigS3CreateS3Request
impl Clone for ConfigS3CreateS3Request
Source§fn clone(&self) -> ConfigS3CreateS3Request
fn clone(&self) -> ConfigS3CreateS3Request
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ConfigS3CreateS3Request
impl Debug for ConfigS3CreateS3Request
Source§impl Default for ConfigS3CreateS3Request
impl Default for ConfigS3CreateS3Request
Source§fn default() -> ConfigS3CreateS3Request
fn default() -> ConfigS3CreateS3Request
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ConfigS3CreateS3Request
impl<'de> Deserialize<'de> for ConfigS3CreateS3Request
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
Source§impl PartialEq for ConfigS3CreateS3Request
impl PartialEq for ConfigS3CreateS3Request
Source§fn eq(&self, other: &ConfigS3CreateS3Request) -> bool
fn eq(&self, other: &ConfigS3CreateS3Request) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ConfigS3CreateS3Request
impl Serialize for ConfigS3CreateS3Request
impl StructuralPartialEq for ConfigS3CreateS3Request
Auto Trait Implementations§
impl Freeze for ConfigS3CreateS3Request
impl RefUnwindSafe for ConfigS3CreateS3Request
impl Send for ConfigS3CreateS3Request
impl Sync for ConfigS3CreateS3Request
impl Unpin for ConfigS3CreateS3Request
impl UnsafeUnpin for ConfigS3CreateS3Request
impl UnwindSafe for ConfigS3CreateS3Request
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