Struct aliyun_oss_rust_sdk::object::PolicyBuilder
source · pub struct PolicyBuilder { /* private fields */ }
Expand description
Implementations§
source§impl PolicyBuilder
impl PolicyBuilder
pub fn new() -> Self
pub fn with_expire(self, expire: Seconds) -> Self
pub fn with_upload_dir<S: AsRef<str>>(self, upload_dir: S) -> Self
pub fn with_content_type<S: AsRef<str>>(self, content_type: S) -> Self
pub fn with_max_upload_size(self, max_upload_size: i64) -> Self
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for PolicyBuilder
impl Send for PolicyBuilder
impl Sync for PolicyBuilder
impl Unpin for PolicyBuilder
impl UnwindSafe for PolicyBuilder
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