pub struct S3Options {
pub access_key_id: String,
pub secret_access_key: String,
pub region: Option<String>,
pub endpoint: Option<String>,
pub force_path_style: Option<bool>,
}Expand description
S3互換APIのオプション
Fields§
§access_key_id: Stringアクセスキー
secret_access_key: Stringシークレットキー
region: Option<String>リージョン(デフォルトは「auto」)
endpoint: Option<String>エンドポイントURL(デフォルトはSupabaseのストレージURL)
force_path_style: Option<bool>フォースパス形式を使用するかどうか
Trait Implementations§
Source§impl<'de> Deserialize<'de> for S3Options
impl<'de> Deserialize<'de> for S3Options
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 S3Options
impl RefUnwindSafe for S3Options
impl Send for S3Options
impl Sync for S3Options
impl Unpin for S3Options
impl UnwindSafe for S3Options
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