pub struct AppendObjectInput<B> { /* private fields */ }Implementations§
Source§impl<B> AppendObjectInput<B>
impl<B> AppendObjectInput<B>
pub fn content_length(&self) -> i64
pub fn cache_control(&self) -> &str
pub fn content_disposition(&self) -> &str
pub fn content_encoding(&self) -> &str
pub fn content_language(&self) -> &str
pub fn content_type(&self) -> &str
pub fn expires(&self) -> Option<DateTime<Utc>>
pub fn set_content_length(&mut self, content_length: i64)
pub fn set_cache_control(&mut self, cache_control: impl Into<String>)
pub fn set_content_disposition( &mut self, content_disposition: impl Into<String>, )
pub fn set_content_encoding(&mut self, content_encoding: impl Into<String>)
pub fn set_content_language(&mut self, content_language: impl Into<String>)
pub fn set_content_type(&mut self, content_type: impl Into<String>)
pub fn set_expires(&mut self, expires: impl Into<DateTime<Utc>>)
Source§impl<B> AppendObjectInput<B>
impl<B> AppendObjectInput<B>
pub fn acl(&self) -> &Option<ACLType>
pub fn grant_full_control(&self) -> &str
pub fn grant_read(&self) -> &str
pub fn grant_read_acp(&self) -> &str
pub fn grant_write_acp(&self) -> &str
pub fn set_acl(&mut self, acl: impl Into<ACLType>)
pub fn set_grant_full_control(&mut self, grant_full_control: impl Into<String>)
pub fn set_grant_read(&mut self, grant_read: impl Into<String>)
pub fn set_grant_read_acp(&mut self, grant_read_acp: impl Into<String>)
pub fn set_grant_write_acp(&mut self, grant_write_acp: impl Into<String>)
Source§impl<B> AppendObjectInput<B>
impl<B> AppendObjectInput<B>
pub fn website_redirect_location(&self) -> &str
pub fn storage_class(&self) -> &Option<StorageClassType>
pub fn set_website_redirect_location( &mut self, website_redirect_location: impl Into<String>, )
pub fn set_storage_class(&mut self, storage_class: impl Into<StorageClassType>)
Source§impl<B> AppendObjectInput<B>
impl<B> AppendObjectInput<B>
pub fn request_date(&self) -> Option<DateTime<Utc>>
pub fn request_host(&self) -> &str
pub fn request_header(&self) -> &Option<HashMap<String, String>>
pub fn request_query(&self) -> &Option<HashMap<String, String>>
pub fn set_request_date(&mut self, request_date: impl Into<DateTime<Utc>>)
pub fn set_request_host(&mut self, request_host: impl Into<String>)
pub fn set_request_header( &mut self, request_header: impl Into<HashMap<String, String>>, )
pub fn set_request_query( &mut self, request_query: impl Into<HashMap<String, String>>, )
Source§impl<B> AppendObjectInput<B>
impl<B> AppendObjectInput<B>
pub fn new(bucket: impl Into<String>, key: impl Into<String>) -> Self
pub fn new_with_offset( bucket: impl Into<String>, key: impl Into<String>, offset: i64, ) -> Self
pub fn new_with_content( bucket: impl Into<String>, key: impl Into<String>, content: impl Into<B>, ) -> Self
pub fn new_with_offset_content( bucket: impl Into<String>, key: impl Into<String>, offset: i64, content: impl Into<B>, ) -> Self
pub fn bucket(&self) -> &str
pub fn key(&self) -> &str
pub fn offset(&self) -> i64
pub fn content(&self) -> Ref<'_, Option<B>>
pub fn meta(&self) -> &HashMap<String, String>
pub fn traffic_limit(&self) -> i64
pub fn if_match(&self) -> &str
pub fn if_none_match(&self) -> &str
pub fn pre_hash_crc64ecma(&self) -> u64
pub fn object_expires(&self) -> i64
pub fn rate_limiter(&self) -> &Option<Arc<RateLimiter>>
pub fn notification_custom_parameters(&self) -> &str
pub fn set_bucket(&mut self, bucket: impl Into<String>)
pub fn set_key(&mut self, key: impl Into<String>)
pub fn set_offset(&mut self, offset: i64)
pub fn set_content(&mut self, content: impl Into<B>)
pub fn set_meta(&mut self, meta: impl Into<HashMap<String, String>>)
pub fn set_traffic_limit(&mut self, traffic_limit: i64)
pub fn set_if_match(&mut self, if_match: impl Into<String>)
pub fn set_if_none_match(&mut self, if_none_match: impl Into<String>)
pub fn set_pre_hash_crc64ecma(&mut self, pre_hash_crc64ecma: u64)
pub fn set_object_expires(&mut self, object_expires: i64)
pub fn set_rate_limiter(&mut self, rate_limiter: impl Into<Arc<RateLimiter>>)
pub fn set_notification_custom_parameters( &mut self, notification_custom_parameters: impl Into<String>, )
Trait Implementations§
Source§impl<B> DataTransferListener for AppendObjectInput<B>
impl<B> DataTransferListener for AppendObjectInput<B>
fn data_transfer_listener(&self) -> &Option<Sender<DataTransferStatus>>
fn set_data_transfer_listener( &mut self, listener: impl Into<Sender<DataTransferStatus>>, )
Source§impl<B> DataTransferListener for AppendObjectInput<B>
impl<B> DataTransferListener for AppendObjectInput<B>
fn async_data_transfer_listener(&self) -> &Option<Sender<DataTransferStatus>>
fn set_async_data_transfer_listener( &mut self, listener: impl Into<Sender<DataTransferStatus>>, )
Source§impl<B: Debug> Debug for AppendObjectInput<B>
impl<B: Debug> Debug for AppendObjectInput<B>
Source§impl<B> Default for AppendObjectInput<B>
impl<B> Default for AppendObjectInput<B>
Source§impl<B> GenericInputTrait for AppendObjectInput<B>
impl<B> GenericInputTrait for AppendObjectInput<B>
impl<B> Send for AppendObjectInput<B>
impl<B> Sync for AppendObjectInput<B>
Auto Trait Implementations§
impl<B> Freeze for AppendObjectInput<B>
impl<B> !RefUnwindSafe for AppendObjectInput<B>
impl<B> Unpin for AppendObjectInput<B>
impl<B> UnsafeUnpin for AppendObjectInput<B>
impl<B> !UnwindSafe for AppendObjectInput<B>
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