pub struct NewHttpTrigger {Show 15 fields
pub path: String,
pub script_path: String,
pub route_path: String,
pub workspaced_route: Option<bool>,
pub summary: Option<String>,
pub description: Option<String>,
pub static_asset_config: Option<Box<NewHttpTriggerStaticAssetConfig>>,
pub is_flow: bool,
pub http_method: HttpMethod,
pub authentication_resource_path: Option<String>,
pub is_async: bool,
pub authentication_method: AuthenticationMethod,
pub is_static_website: bool,
pub wrap_body: Option<bool>,
pub raw_string: Option<bool>,
}
Fields§
§path: String
§script_path: String
§route_path: String
§workspaced_route: Option<bool>
§summary: Option<String>
§description: Option<String>
§static_asset_config: Option<Box<NewHttpTriggerStaticAssetConfig>>
§is_flow: bool
§http_method: HttpMethod
§authentication_resource_path: Option<String>
§is_async: bool
§authentication_method: AuthenticationMethod
§is_static_website: bool
§wrap_body: Option<bool>
§raw_string: Option<bool>
Implementations§
Source§impl NewHttpTrigger
impl NewHttpTrigger
pub fn new( path: String, script_path: String, route_path: String, is_flow: bool, http_method: HttpMethod, is_async: bool, authentication_method: AuthenticationMethod, is_static_website: bool, ) -> NewHttpTrigger
Trait Implementations§
Source§impl Clone for NewHttpTrigger
impl Clone for NewHttpTrigger
Source§fn clone(&self) -> NewHttpTrigger
fn clone(&self) -> NewHttpTrigger
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 NewHttpTrigger
impl Debug for NewHttpTrigger
Source§impl Default for NewHttpTrigger
impl Default for NewHttpTrigger
Source§fn default() -> NewHttpTrigger
fn default() -> NewHttpTrigger
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NewHttpTrigger
impl<'de> Deserialize<'de> for NewHttpTrigger
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 NewHttpTrigger
impl PartialEq for NewHttpTrigger
Source§impl Serialize for NewHttpTrigger
impl Serialize for NewHttpTrigger
impl StructuralPartialEq for NewHttpTrigger
Auto Trait Implementations§
impl Freeze for NewHttpTrigger
impl RefUnwindSafe for NewHttpTrigger
impl Send for NewHttpTrigger
impl Sync for NewHttpTrigger
impl Unpin for NewHttpTrigger
impl UnwindSafe for NewHttpTrigger
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