Enum fred::types::Expiration [] [src]

pub enum Expiration {
    EX(i64),
    PX(i64),
}

Expiration options for the set command.

https://redis.io/commands/set

Variants

Methods

impl Expiration
[src]

[src]

Trait Implementations

impl Debug for Expiration
[src]

[src]

Formats the value using the given formatter.

impl Clone for Expiration
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Eq for Expiration
[src]

impl PartialEq for Expiration
[src]

[src]

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

[src]

This method tests for !=.