pub struct PreSignedPolicyURLInput { /* private fields */ }Implementations§
Source§impl PreSignedPolicyURLInput
impl PreSignedPolicyURLInput
pub fn new(bucket: impl Into<String>) -> Self
pub fn bucket(&self) -> &str
pub fn expires(&self) -> i64
pub fn conditions(&self) -> &Vec<PolicySignatureCondition>
pub fn alternative_endpoint(&self) -> &str
pub fn is_custom_domain(&self) -> Option<bool>
pub fn set_bucket(&mut self, bucket: impl Into<String>)
pub fn set_expires(&mut self, expires: i64)
pub fn add_condition(&mut self, condition: impl Into<PolicySignatureCondition>)
pub fn set_conditions( &mut self, conditions: impl Into<Vec<PolicySignatureCondition>>, )
pub fn set_alternative_endpoint( &mut self, alternative_endpoint: impl Into<String>, )
pub fn set_is_custom_domain(&mut self, is_custom_domain: bool)
Trait Implementations§
Source§impl Clone for PreSignedPolicyURLInput
impl Clone for PreSignedPolicyURLInput
Source§fn clone(&self) -> PreSignedPolicyURLInput
fn clone(&self) -> PreSignedPolicyURLInput
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PreSignedPolicyURLInput
impl Debug for PreSignedPolicyURLInput
Source§impl Default for PreSignedPolicyURLInput
impl Default for PreSignedPolicyURLInput
Source§fn default() -> PreSignedPolicyURLInput
fn default() -> PreSignedPolicyURLInput
Returns the “default value” for a type. Read more
Source§impl PartialEq for PreSignedPolicyURLInput
impl PartialEq for PreSignedPolicyURLInput
impl StructuralPartialEq for PreSignedPolicyURLInput
Auto Trait Implementations§
impl Freeze for PreSignedPolicyURLInput
impl RefUnwindSafe for PreSignedPolicyURLInput
impl Send for PreSignedPolicyURLInput
impl Sync for PreSignedPolicyURLInput
impl Unpin for PreSignedPolicyURLInput
impl UnsafeUnpin for PreSignedPolicyURLInput
impl UnwindSafe for PreSignedPolicyURLInput
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