pub struct S3GetParams {
pub local_file: Option<String>,
pub extract_to: Option<String>,
pub remote_file: String,
pub bucket: String,
pub build_variants: Option<Vec<String>>,
/* private fields */
}Expand description
Parameters describing how to download a file from S3.
Fields§
§local_file: Option<String>Local file to save.
extract_to: Option<String>Local directory to save to.
remote_file: StringS3 Path to get file from.
bucket: StringS3 bucket to upload to.
build_variants: Option<Vec<String>>Trait Implementations§
Source§impl Clone for S3GetParams
impl Clone for S3GetParams
Source§fn clone(&self) -> S3GetParams
fn clone(&self) -> S3GetParams
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 S3GetParams
impl Debug for S3GetParams
Source§impl<'de> Deserialize<'de> for S3GetParams
impl<'de> Deserialize<'de> for S3GetParams
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 S3GetParams
impl RefUnwindSafe for S3GetParams
impl Send for S3GetParams
impl Sync for S3GetParams
impl Unpin for S3GetParams
impl UnwindSafe for S3GetParams
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