[−][src]Struct etcd_client::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]
pub fn clone(&self) -> DeleteOptions
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for DeleteOptions
[src]
impl Default for DeleteOptions
[src]
pub fn default() -> DeleteOptions
[src]
Auto Trait Implementations
impl RefUnwindSafe for DeleteOptions
[src]
impl Send for DeleteOptions
[src]
impl Sync for DeleteOptions
[src]
impl Unpin for DeleteOptions
[src]
impl UnwindSafe for DeleteOptions
[src]
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> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> IntoRequest<T> for T
[src]
pub fn into_request(self) -> Request<T>
[src]
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> WithSubscriber for T
[src]
pub fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,