pub struct OSS<'a> {
pub endpoint: &'a str,
pub http_client: &'a Client,
}
Expand description
Object Storage Service(OSS) https://cn.aliyun.com/product/oss
§Examples
use aliyun_openapi_rust_sdk::OSS;
let endpoint = "oss-cn-hangzhou.aliyuncs.com";
let ref http_client = reqwest::Client::new();
let oss = OSS { endpoint, http_client };
Fields§
§endpoint: &'a str
endpoint, such as oss-cn-hangzhou.aliyuncs.com
http_client: &'a Client
global reqwest::Client
Implementations§
Source§impl<'a> OSS<'a>
impl<'a> OSS<'a>
Auto Trait Implementations§
impl<'a> Freeze for OSS<'a>
impl<'a> !RefUnwindSafe for OSS<'a>
impl<'a> Send for OSS<'a>
impl<'a> Sync for OSS<'a>
impl<'a> Unpin for OSS<'a>
impl<'a> !UnwindSafe for OSS<'a>
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