Struct reqsign::HuaweicloudObsConfig
source · pub struct HuaweicloudObsConfig {
pub access_key_id: Option<String>,
pub secret_access_key: Option<String>,
pub security_token: Option<String>,
}
Expand description
Config carries all the configuration for Huawei Cloud OBS services.
Fields§
§access_key_id: Option<String>
access_key_id
will be loaded from
- this field if it’s
is_some
- env value: [
HUAWEI_CLOUD_ACCESS_KEY_ID
]
secret_access_key: Option<String>
secret_access_key
will be loaded from
- this field if it’s
is_some
- env value: [
HUAWEI_CLOUD_SECRET_ACCESS_KEY
]
security_token: Option<String>
security_token
will be loaded from
- this field if it’s
is_some
- env value: [
HUAWEI_CLOUD_SECURITY_TOKEN
]
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