[]Struct teaclave_client_sdk::RegisterFunctionRequestBuilder

pub struct RegisterFunctionRequestBuilder { /* fields omitted */ }

Implementations

impl RegisterFunctionRequestBuilder

pub fn new() -> RegisterFunctionRequestBuilder

pub fn name(self, name: impl ToString) -> RegisterFunctionRequestBuilder

pub fn description(
    self,
    description: impl ToString
) -> RegisterFunctionRequestBuilder

pub fn executor_type(
    self,
    executor_type: ExecutorType
) -> RegisterFunctionRequestBuilder

pub fn payload(self, payload: Vec<u8>) -> RegisterFunctionRequestBuilder

pub fn public(self, public: bool) -> RegisterFunctionRequestBuilder

pub fn arguments<T>(self, args: T) -> RegisterFunctionRequestBuilder where
    T: IntoIterator,
    <T as IntoIterator>::Item: ToString

pub fn inputs(
    self,
    inputs: Vec<FunctionInput>
) -> RegisterFunctionRequestBuilder

pub fn outputs(
    self,
    outputs: Vec<FunctionOutput>
) -> RegisterFunctionRequestBuilder

pub fn build(self) -> RegisterFunctionRequest

Auto Trait Implementations

impl RefUnwindSafe for RegisterFunctionRequestBuilder

impl Send for RegisterFunctionRequestBuilder

impl Sync for RegisterFunctionRequestBuilder

impl Unpin for RegisterFunctionRequestBuilder

impl UnwindSafe for RegisterFunctionRequestBuilder

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,