pub struct S3PutParams {
pub local_file: Option<String>,
pub local_files_include_filter: Option<Vec<String>>,
pub local_files_include_filter_prefix: Option<String>,
pub remote_file: String,
pub bucket: String,
pub permissions: String,
pub content_type: String,
pub display_name: Option<String>,
pub optional: Option<bool>,
pub region: Option<String>,
pub visibility: Option<String>,
pub skip_existing: Option<StringOrBool>,
/* private fields */
}Expand description
Parameters describing how to upload a file from S3.
Fields§
§local_file: Option<String>Local file to upload.
local_files_include_filter: Option<Vec<String>>List of globs to indicate files to upload.
local_files_include_filter_prefix: Option<String>Path to where to start looking for local_files_include_filter.
remote_file: StringS3 Path to upload to.
bucket: StringS3 bucket to upload to.
permissions: StringPermission string to upload with.
content_type: StringThe MIME type of the file.
display_name: Option<String>Display string for file in the Evergreen UI.
optional: Option<bool>If true, do not fail if file is not found.
region: Option<String>§visibility: Option<String>§skip_existing: Option<StringOrBool>Trait Implementations§
Source§impl Clone for S3PutParams
impl Clone for S3PutParams
Source§fn clone(&self) -> S3PutParams
fn clone(&self) -> S3PutParams
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 S3PutParams
impl Debug for S3PutParams
Source§impl<'de> Deserialize<'de> for S3PutParams
impl<'de> Deserialize<'de> for S3PutParams
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for S3PutParams
impl RefUnwindSafe for S3PutParams
impl Send for S3PutParams
impl Sync for S3PutParams
impl Unpin for S3PutParams
impl UnwindSafe for S3PutParams
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