pub struct NewHttpTriggerStaticAssetConfig {
pub s3: String,
pub storage: Option<String>,
pub filename: Option<String>,
}
Fields§
§s3: String
§storage: Option<String>
§filename: Option<String>
Implementations§
Source§impl NewHttpTriggerStaticAssetConfig
impl NewHttpTriggerStaticAssetConfig
pub fn new(s3: String) -> NewHttpTriggerStaticAssetConfig
Trait Implementations§
Source§impl Clone for NewHttpTriggerStaticAssetConfig
impl Clone for NewHttpTriggerStaticAssetConfig
Source§fn clone(&self) -> NewHttpTriggerStaticAssetConfig
fn clone(&self) -> NewHttpTriggerStaticAssetConfig
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 Default for NewHttpTriggerStaticAssetConfig
impl Default for NewHttpTriggerStaticAssetConfig
Source§fn default() -> NewHttpTriggerStaticAssetConfig
fn default() -> NewHttpTriggerStaticAssetConfig
Returns the “default value” for a type. Read more
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
Source§impl PartialEq for NewHttpTriggerStaticAssetConfig
impl PartialEq for NewHttpTriggerStaticAssetConfig
Source§fn eq(&self, other: &NewHttpTriggerStaticAssetConfig) -> bool
fn eq(&self, other: &NewHttpTriggerStaticAssetConfig) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.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 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