Struct sled_web::request::Merge[][src]

pub struct Merge {
    pub key: Vec<u8>,
    pub value: Vec<u8>,
}

Merge a new value into the total state for a key.

Fields

Trait Implementations

impl Clone for Merge
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Merge
[src]

Formats the value using the given formatter. Read more

impl Eq for Merge
[src]

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

METHOD: Method = <Method>::POST

The HTTP method included with the header.

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

The component of the URI following the domain.

impl IntoBody for Merge
[src]

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

Convert self into the serializable Body type.

impl IntoResponse for Merge
[src]

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

Auto Trait Implementations

impl Send for Merge

impl Sync for Merge