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