Skip to main content

Module prelude

Module prelude 

Source
Expand description

A curated set of imports for function authors: use apiplant_function::prelude::*;.

Re-exports§

pub use crate::reply;
pub use crate::Context;
pub use crate::Email;
pub use crate::Hook;
pub use crate::Sent;

Enums§

HttpMethod
HTTP verb a function endpoint responds to.
LogLevel
Severity for HostApi::log.
Visibility
Who is allowed to call a function’s (or resource’s) endpoint.

Traits§

JsonSchema
#[derive(JsonSchema)] for typed OpenAPI (with the schema feature). A type which can be described as a JSON Schema document.

Derive Macros§

JsonSchema
#[derive(JsonSchema)] for typed OpenAPI (with the schema feature).