pub struct AppendObjectFromBufferInput { /* private fields */ }Implementations§
Source§impl AppendObjectFromBufferInput
impl AppendObjectFromBufferInput
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 AppendObjectFromBufferInput
impl AppendObjectFromBufferInput
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 AppendObjectFromBufferInput
impl AppendObjectFromBufferInput
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 AppendObjectFromBufferInput
impl AppendObjectFromBufferInput
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 AppendObjectFromBufferInput
impl AppendObjectFromBufferInput
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 AsRef<[u8]>, ) -> Self
pub fn new_with_offset_content( bucket: impl Into<String>, key: impl Into<String>, offset: i64, content: impl AsRef<[u8]>, ) -> Self
pub fn bucket(&self) -> &str
pub fn key(&self) -> &str
pub fn offset(&self) -> i64
pub fn content(&self) -> Option<impl Iterator<Item = &Bytes>>
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_with_bytes_list( &mut self, bytes_list: impl Iterator<Item = impl Into<Bytes>>, )
pub fn set_content(&mut self, content: impl AsRef<[u8]>)
pub fn append_content(&mut self, content: impl AsRef<[u8]>)
pub fn set_content_nocopy(&mut self, content: impl Into<Vec<u8>>)
pub fn append_content_nocopy(&mut self, content: impl Into<Vec<u8>>)
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 DataTransferListener for AppendObjectFromBufferInput
impl DataTransferListener for AppendObjectFromBufferInput
fn data_transfer_listener(&self) -> &Option<Sender<DataTransferStatus>>
fn set_data_transfer_listener( &mut self, listener: impl Into<Sender<DataTransferStatus>>, )
Source§impl DataTransferListener for AppendObjectFromBufferInput
impl DataTransferListener for AppendObjectFromBufferInput
fn async_data_transfer_listener(&self) -> &Option<Sender<DataTransferStatus>>
fn set_async_data_transfer_listener( &mut self, listener: impl Into<Sender<DataTransferStatus>>, )
Source§impl Debug for AppendObjectFromBufferInput
impl Debug for AppendObjectFromBufferInput
Source§impl Default for AppendObjectFromBufferInput
impl Default for AppendObjectFromBufferInput
Source§fn default() -> AppendObjectFromBufferInput
fn default() -> AppendObjectFromBufferInput
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for AppendObjectFromBufferInput
impl RefUnwindSafe for AppendObjectFromBufferInput
impl Send for AppendObjectFromBufferInput
impl Sync for AppendObjectFromBufferInput
impl Unpin for AppendObjectFromBufferInput
impl UnsafeUnpin for AppendObjectFromBufferInput
impl UnwindSafe for AppendObjectFromBufferInput
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