[][src]Struct redis_event::cmd::strings::SET

pub struct SET<'a> {
    pub key: &'a [u8],
    pub value: &'a [u8],
    pub expire: Option<(ExpireType, &'a Vec<u8>)>,
    pub exist_type: Option<ExistType>,
    pub keep_ttl: Option<bool>,
}

Fields

key: &'a [u8]value: &'a [u8]expire: Option<(ExpireType, &'a Vec<u8>)>exist_type: Option<ExistType>keep_ttl: Option<bool>

Trait Implementations

impl<'a> Debug for SET<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for SET<'a>

impl<'a> Send for SET<'a>

impl<'a> Sync for SET<'a>

impl<'a> Unpin for SET<'a>

impl<'a> UnwindSafe for SET<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.