Struct usdpl_back::core::RemoteCall

source ·
pub struct RemoteCall {
    pub id: u64,
    pub function: String,
    pub parameters: Vec<Primitive, Global>,
}
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, Global>

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.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

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

Should always be Self
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.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more