Struct sled_web::request::Pred[][src]

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

Retrieve the entry that precedes the Key.

Fields

Trait Implementations

impl Clone for Pred
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Pred
[src]

Formats the value using the given formatter. Read more

impl Eq for Pred
[src]

impl Hash for Pred
[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 Pred
[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 Pred
[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 Pred
[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 Pred
[src]

METHOD: Method = <Method>::GET

The HTTP method included with the header.

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

The component of the URI following the domain.

impl IntoBody for Pred
[src]

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

Convert self into the serializable Body type.

impl IntoResponse for Pred
[src]

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

Auto Trait Implementations

impl Send for Pred

impl Sync for Pred