pub struct BaseAction { /* private fields */ }
Expand description

Basic action implementation.

An Action represents an individual action which can be performed on a thing.

This can easily be used by other actions to handle most of the boring work.

Implementations

Create a new BaseAction.

Trait Implementations

An Action represents an individual action on a thing.

Set the prefix of any hrefs associated with this action.

Get this action’s ID.

Get this action’s name.

Get this action’s href.

Get this action’s status.

Get the thing associated with this action.

Get the time the action was requested.

Get the time the action was completed.

Get the inputs for this action.

Set the status of this action.

Start performing the action.

Override this with the code necessary to perform the action.

Override this with the code necessary to cancel the action.

Finish performing the action.

Get the action description. Read more

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