pub struct HttpTriggerConfig { /* private fields */ }Implementations§
Source§impl HttpTriggerConfig
impl HttpTriggerConfig
pub fn resource(&self) -> &BoundIdentifier
pub fn resource_mut(&mut self) -> &mut BoundIdentifier
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 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 Debug for HttpTriggerConfig
impl Debug for HttpTriggerConfig
Source§impl ExpandImports for HttpTriggerConfig
impl ExpandImports for HttpTriggerConfig
Source§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
Source§type Error = ManifestError
type Error = ManifestError
The type returned in the event of a conversion error.
Source§fn try_from(value: HttpTriggerConfig) -> Result<Self, ManifestError>
fn try_from(value: HttpTriggerConfig) -> Result<Self, ManifestError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for HttpTriggerConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more