pub struct S3StorageProperty {
pub bucket: String,
pub region: String,
pub prefix: String,
pub endpoint: String,
pub access_key_id: String,
pub secret_access_key: String,
pub virtual_host_style: bool,
}Fields§
§bucket: StringBucket name.
region: StringRegion name.
prefix: StringURL prefix of table files, e.g. /path/to/my/dir/.
Default to /
endpoint: StringURL of S3 endpoint, e.g. https://s3.<region>.amazonaws.com.
access_key_id: StringAccess key ID.
secret_access_key: StringSecret access key.
virtual_host_style: boolWhether to enable virtual host style, so that API requests will be sent in virtual host style instead of path style.
Default to true
Trait Implementations§
Source§impl Clone for S3StorageProperty
impl Clone for S3StorageProperty
Source§fn clone(&self) -> S3StorageProperty
fn clone(&self) -> S3StorageProperty
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 S3StorageProperty
impl Debug for S3StorageProperty
Source§impl<'de> Deserialize<'de> for S3StorageProperty
impl<'de> Deserialize<'de> for S3StorageProperty
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 S3StorageProperty
impl RefUnwindSafe for S3StorageProperty
impl Send for S3StorageProperty
impl Sync for S3StorageProperty
impl Unpin for S3StorageProperty
impl UnsafeUnpin for S3StorageProperty
impl UnwindSafe for S3StorageProperty
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