Struct rustdb::gentrans::GenTransaction[][src]

pub struct GenTransaction {
    pub qy: GenQuery,
    pub rp: GenResponse,
    pub ext: Box<dyn Any + Send + Sync>,
}
Expand description

Query + Response, implements Transaction.

Fields

qy: GenQueryrp: GenResponseext: Box<dyn Any + Send + Sync>

Implementations

Trait Implementations

Returns the “default value” for a type. Read more

ARG builtin function. Get path, query parameter, form value or cookie.

STATUSCODE builtin function. sets the response status code.

HEADER builtin function, adds header to response.

GLOBAL builtin function. Used to get request time.

Append SELECT values to response body.

Set the error string.

Get the error string.

Get file attribute ( One of name, content_type, file_name )

Get file content.

Set the extension.

Get the extension. Note: this takes ownership, so extension needs to be set afterwards.

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

Performs the conversion.

Performs the conversion.

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.