Skip to main content

TypedClientInputs

Trait TypedClientInputs 

Source
pub trait TypedClientInputs {
    // Required methods
    fn into_values(self) -> Vec<Value>;
    fn value_types() -> Vec<ClientValueType>;
}
Expand description

Compile-time typed client input payload.

Implement this trait for domain structs when tuple inputs are not expressive enough. The SDK still validates the declared Rust type shape against the loaded program manifest before network submission.

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl TypedClientInputs for ()

Source§

impl<A, B, C, D, E, F, G, H> TypedClientInputs for (A, B, C, D, E, F, G, H)

Source§

impl<A, B, C, D, E, F, G> TypedClientInputs for (A, B, C, D, E, F, G)

Source§

impl<A, B, C, D, E, F> TypedClientInputs for (A, B, C, D, E, F)

Source§

impl<A, B, C, D, E> TypedClientInputs for (A, B, C, D, E)

Source§

impl<A, B, C, D> TypedClientInputs for (A, B, C, D)

Source§

impl<A, B, C> TypedClientInputs for (A, B, C)

Source§

impl<A, B> TypedClientInputs for (A, B)

Implementors§