Enum esthri::S3PathParam
source · pub enum S3PathParam {
Local {
path: PathBuf,
},
Bucket {
bucket: String,
key: String,
},
}
Variants§
Implementations§
Trait Implementations§
source§impl Clone for S3PathParam
impl Clone for S3PathParam
source§fn clone(&self) -> S3PathParam
fn clone(&self) -> S3PathParam
Returns a copy 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 S3PathParam
impl Debug for S3PathParam
source§impl<'de> Deserialize<'de> for S3PathParam
impl<'de> Deserialize<'de> for S3PathParam
source§fn deserialize<D: Deserializer<'de>>(
deserializer: D
) -> StdResult<Self, D::Error>
fn deserialize<D: Deserializer<'de>>( deserializer: D ) -> StdResult<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for S3PathParam
impl Display for S3PathParam
source§impl FromStr for S3PathParam
impl FromStr for S3PathParam
Auto Trait Implementations§
impl RefUnwindSafe for S3PathParam
impl Send for S3PathParam
impl Sync for S3PathParam
impl Unpin for S3PathParam
impl UnwindSafe for S3PathParam
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.