Struct wick_config::config::HttpTriggerConfig
source · pub struct HttpTriggerConfig { /* private fields */ }Implementations§
source§impl HttpTriggerConfig
impl HttpTriggerConfig
pub fn resource(&self) -> &str
pub fn resource_mut(&mut self) -> &mut String
pub fn routers(&self) -> &[HttpRouterConfig]
pub fn routers_mut(&mut self) -> &mut Vec<HttpRouterConfig>
Trait Implementations§
source§impl AssetManager for HttpTriggerConfig
impl AssetManager for HttpTriggerConfig
type Asset = AssetReference
fn set_baseurl(&self, baseurl: &Path)
fn assets(&self) -> Assets<'_, AssetReference>
fn get_asset_flags(&self) -> u32
source§impl Clone for HttpTriggerConfig
impl Clone for HttpTriggerConfig
source§fn clone(&self) -> HttpTriggerConfig
fn clone(&self) -> HttpTriggerConfig
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 HttpTriggerConfig
impl Debug for HttpTriggerConfig
source§impl ExpandImports for HttpTriggerConfig
impl ExpandImports for HttpTriggerConfig
§type Error = ManifestError
type Error = ManifestError
The type of error that may be returned when expanding imports.
source§fn expand_imports(
&mut self,
bindings: &mut Vec<Binding<ImportDefinition>>,
trigger_index: usize
) -> Result<(), Self::Error>
fn expand_imports( &mut self, bindings: &mut Vec<Binding<ImportDefinition>>, trigger_index: usize ) -> Result<(), Self::Error>
Expand imports with any inline definitions.
source§impl Serialize for HttpTriggerConfig
impl Serialize for HttpTriggerConfig
source§impl TryFrom<HttpTriggerConfig> for HttpTrigger
impl TryFrom<HttpTriggerConfig> for HttpTrigger
§type Error = ManifestError
type Error = ManifestError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl !RefUnwindSafe for HttpTriggerConfig
impl Send for HttpTriggerConfig
impl Sync for HttpTriggerConfig
impl Unpin for HttpTriggerConfig
impl !UnwindSafe for HttpTriggerConfig
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