pub struct Config {
pub secret_id: String,
pub secret_key: String,
pub region: String,
pub bucket: String,
}
Expand description
COS 配置结构体
Fields§
§secret_id: String
腾讯云 SecretId
secret_key: String
腾讯云 SecretKey
region: String
COS 地域
bucket: String
COS Bucket 名称
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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