[−][src]Enum redis_ts::TsDuplicatePolicy
Different options for handling inserts of duplicate values. Block is the behaviour redis time series was using before preventing all inserts of values older or equal to latest value in series. Fist will simply ignore the new value (as opposed to returning an error), Last will use the new value, Min the lower and Max the higher value.
Variants
Other(String)
Trait Implementations
impl Clone for TsDuplicatePolicy
[src]
pub fn clone(&self) -> TsDuplicatePolicy
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for TsDuplicatePolicy
[src]
impl Eq for TsDuplicatePolicy
[src]
impl FromRedisValue for TsDuplicatePolicy
[src]
pub fn from_redis_value(v: &Value) -> RedisResult<Self>
[src]
pub fn from_redis_values(items: &[Value]) -> Result<Vec<Self>, RedisError>
[src]
impl PartialEq<TsDuplicatePolicy> for TsDuplicatePolicy
[src]
pub fn eq(&self, other: &TsDuplicatePolicy) -> bool
[src]
pub fn ne(&self, other: &TsDuplicatePolicy) -> bool
[src]
impl StructuralEq for TsDuplicatePolicy
[src]
impl StructuralPartialEq for TsDuplicatePolicy
[src]
impl ToRedisArgs for TsDuplicatePolicy
[src]
pub fn write_redis_args<W: ?Sized>(&self, out: &mut W) where
W: RedisWrite,
[src]
W: RedisWrite,
pub fn to_redis_args(&self) -> Vec<Vec<u8>>
[src]
pub fn describe_numeric_behavior(&self) -> NumericBehavior
[src]
pub fn is_single_arg(&self) -> bool
[src]
Auto Trait Implementations
impl RefUnwindSafe for TsDuplicatePolicy
impl Send for TsDuplicatePolicy
impl Sync for TsDuplicatePolicy
impl Unpin for TsDuplicatePolicy
impl UnwindSafe for TsDuplicatePolicy
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,