[][src]Struct etcd_client::DeleteOptions

#[repr(transparent)]pub struct DeleteOptions(_);

Options for Delete operation.

Implementations

impl DeleteOptions[src]

pub const fn new() -> Self[src]

Creates a DeleteOptions.

pub fn with_range(mut self: Self, end_key: impl Into<Vec<u8>>) -> Self[src]

end_key is the key following the last key to delete for the range [key, end_key). If end_key is not given, the range is defined to contain only the key argument. If end_key is one bit larger than the given key, then the range is all the keys with the prefix (the given key). If end_key is '\0', the range is all keys greater than or equal to the key argument.

pub const fn with_prev_key(mut self: Self) -> Self[src]

If prev_kv is set, etcd gets the previous key-value pairs before deleting it. The previous key-value pairs will be returned in the delete response.

Trait Implementations

impl Clone for DeleteOptions[src]

impl Debug for DeleteOptions[src]

impl Default for DeleteOptions[src]

Auto Trait Implementations

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> Instrument for T[src]

impl<T> Instrument for T[src]

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]