pub struct RemoteCall {
    pub id: u64,
    pub function: String,
    pub parameters: Vec<Primitive>,
}
Expand description

Remote call packet representing a function to call on the back-end, sent from the front-end

Fields

id: u64

The call id assigned by the front-end

function: String

The function’s name

parameters: Vec<Primitive>

The function’s input parameters

Trait Implementations

Write the object to the buffer, returning the amount of bytes written. If anything is wrong, false should be returned. Read more

Dump data as base64-encoded. Useful for transmitting data as text. Read more

Read the buffer, building the object and returning the amount of bytes read. If anything is wrong with the buffer, Err should be returned. Read more

Load data from a base64-encoded buffer

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.