pub struct Options<'a> { /* private fields */ }Implementations§
Source§impl<'a> Options<'a>
impl<'a> Options<'a>
pub fn new() -> Self
pub fn with_access_key_id(self, value: &'a str) -> Self
pub fn with_access_key_secret(self, value: &'a str) -> Self
pub fn with_bucket(self, value: &'a str) -> Self
pub fn with_region(self, value: &'a str) -> Self
pub fn with_sts_token(self, value: &'a str) -> Self
pub fn with_endpoint(self, value: &'a str) -> Self
pub fn with_internal(self, value: bool) -> Self
pub fn with_cname(self, value: bool) -> Self
pub fn with_secret(self, value: bool) -> Self
pub fn with_timeout(self, value: u64) -> Self
pub fn root_url(&self) -> String
pub fn base_url(&self) -> String
pub fn object_url(&self, object: &'a str) -> String
pub fn client(self) -> Client<'a>
Trait Implementations§
impl<'a> Copy for Options<'a>
Auto Trait Implementations§
impl<'a> Freeze for Options<'a>
impl<'a> RefUnwindSafe for Options<'a>
impl<'a> Send for Options<'a>
impl<'a> Sync for Options<'a>
impl<'a> Unpin for Options<'a>
impl<'a> UnwindSafe for Options<'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