pub enum Action {
    ACL {
        key: String,
        acl: Option<String>,
    },
    ListObjects {
        bucket: Option<String>,
        list_multipart_uploads: bool,
        prefix: Option<String>,
        start_after: Option<String>,
    },
    PutObject {
        acl: Option<String>,
        meta: Option<BTreeMap<String, String>>,
        buf_size: usize,
        file: Option<String>,
        key: String,
        pipe: bool,
        s3m_dir: PathBuf,
        quiet: bool,
    },
    DeleteObject {
        key: String,
        upload_id: String,
    },
    GetObject {
        key: String,
        get_head: bool,
        dest: Option<String>,
        quiet: bool,
    },
    ShareObject {
        key: String,
        expire: usize,
    },
}

Variants

ACL

Fields

key: String
acl: Option<String>

ListObjects

Fields

bucket: Option<String>
list_multipart_uploads: bool
prefix: Option<String>
start_after: Option<String>

PutObject

Fields

acl: Option<String>
buf_size: usize
file: Option<String>
key: String
pipe: bool
s3m_dir: PathBuf
quiet: bool

DeleteObject

Fields

key: String
upload_id: String

GetObject

Fields

key: String
get_head: bool
dest: Option<String>
quiet: bool

ShareObject

Fields

key: String
expire: usize

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more