Struct sled_web::request::Get[][src]

pub struct Get {
    pub key: Vec<u8>,
}

Get a single entry from the DB, identified by the given unique key.

Fields

Trait Implementations

impl Clone for Get
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Get
[src]

Formats the value using the given formatter. Read more

impl Eq for Get
[src]

impl Hash for Get
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl PartialEq for Get
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl PartialOrd for Get
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Ord for Get
[src]

This method returns an Ordering between self and other. Read more

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

impl RequestType for Get
[src]

METHOD: Method = <Method>::GET

The HTTP method included with the header.

PATH_AND_QUERY: &'static str = "/tree/entries/get"

The component of the URI following the domain.

impl IntoBody for Get
[src]

The body of the request, capable of being serialized to JSON.

Convert self into the serializable Body type.

impl IntoResponse for Get
[src]

Respond to the given request body, updating the sled::Tree as necessary.

Auto Trait Implementations

impl Send for Get

impl Sync for Get