Enum stal::Set [] [src]

pub enum Set {
    Key(Vec<u8>),
    Union(Vec<Set>),
    Inter(Vec<Set>),
    Diff(Vec<Set>),
}

A set of values. It can be generated from a Redis key or from a set operation based on other sets.

Variants

A key

All the elements in any of the provided sets

All the elements in all the sets

All the elements in the first set that are not in the other sets

Methods

impl Set
[src]

Gets the commands to get a list of ids for this set

Gets the commands to get a list of ids for this set

Appends the operation to ops and any temporary id created to ids. Returns the key representing the set.

Trait Implementations

impl Debug for Set
[src]

Formats the value using the given formatter.

impl Clone for Set
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more