pub struct NewHttpTriggerStaticAssetConfig {
pub s3: String,
pub storage: Option<String>,
pub filename: Option<String>,
}Expand description
NewHttpTriggerStaticAssetConfig : Configuration for serving static assets (s3 bucket, storage path, filename)
Fields§
§s3: StringS3 bucket path for static assets
storage: Option<String>Storage path for static assets
filename: Option<String>Filename for the static asset
Implementations§
Source§impl NewHttpTriggerStaticAssetConfig
impl NewHttpTriggerStaticAssetConfig
Sourcepub fn new(s3: String) -> NewHttpTriggerStaticAssetConfig
pub fn new(s3: String) -> NewHttpTriggerStaticAssetConfig
Configuration for serving static assets (s3 bucket, storage path, filename)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for NewHttpTriggerStaticAssetConfig
impl<'de> Deserialize<'de> for NewHttpTriggerStaticAssetConfig
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
impl StructuralPartialEq for NewHttpTriggerStaticAssetConfig
Auto Trait Implementations§
impl Freeze for NewHttpTriggerStaticAssetConfig
impl RefUnwindSafe for NewHttpTriggerStaticAssetConfig
impl Send for NewHttpTriggerStaticAssetConfig
impl Sync for NewHttpTriggerStaticAssetConfig
impl Unpin for NewHttpTriggerStaticAssetConfig
impl UnsafeUnpin for NewHttpTriggerStaticAssetConfig
impl UnwindSafe for NewHttpTriggerStaticAssetConfig
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