Skip to main content

ArgsBuilder

Type Alias ArgsBuilder 

pub type ArgsBuilder = Arc<dyn Fn(&ActionArgs) -> EncodedAction + Send + Sync>;
Expand description

Builds an action’s encoded form from arguments already bound against its declared params.

Infallible by design: every check a caller can fail — presence, type, choice — happens in ActionArgs::bind before this runs, so a builder that holds an ActionArgs is looking at values it declared and can use them directly.

Aliased Type§

pub struct ArgsBuilder { /* private fields */ }