[]Struct teaclave_client_sdk::CreateTaskRequest

pub struct CreateTaskRequest {
    pub function_id: ExternalID,
    pub function_arguments: FunctionArguments,
    pub executor: Executor,
    pub inputs_ownership: TaskFileOwners,
    pub outputs_ownership: TaskFileOwners,
}

Fields

function_id: ExternalIDfunction_arguments: FunctionArgumentsexecutor: Executorinputs_ownership: TaskFileOwnersoutputs_ownership: TaskFileOwners

Implementations

impl CreateTaskRequest

pub fn new() -> CreateTaskRequest

pub fn function_id(self, function_id: ExternalID) -> CreateTaskRequest

pub fn function_arguments(
    self,
    function_arguments: impl Into<FunctionArguments>
) -> CreateTaskRequest

pub fn executor(self, executor: Executor) -> CreateTaskRequest

pub fn inputs_ownership(
    self,
    map: impl Into<TaskFileOwners>
) -> CreateTaskRequest

pub fn outputs_ownership(
    self,
    map: impl Into<TaskFileOwners>
) -> CreateTaskRequest

Trait Implementations

impl Default for CreateTaskRequest

impl IntoRequest<TeaclaveFrontendRequest> for CreateTaskRequest

impl IntoRequest<TeaclaveManagementRequest> for CreateTaskRequest

impl TryFrom<CreateTaskRequest> for CreateTaskRequest

type Error = Error

The type returned in the event of a conversion error.

Auto Trait Implementations

impl RefUnwindSafe for CreateTaskRequest

impl Send for CreateTaskRequest

impl Sync for CreateTaskRequest

impl Unpin for CreateTaskRequest

impl UnwindSafe for CreateTaskRequest

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>,