Struct etcd_client::DeleteOptions [−][src]
#[repr(transparent)]pub struct DeleteOptions(_);
Options for Delete operation.
Implementations
impl DeleteOptions[src]
impl DeleteOptions[src]pub const fn new() -> Self[src]
Creates a DeleteOptions.
pub fn with_range(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(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 Clone for DeleteOptions[src]fn clone(&self) -> DeleteOptions[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Default for DeleteOptions[src]
impl Default for DeleteOptions[src]fn default() -> DeleteOptions[src]
Auto Trait Implementations
impl RefUnwindSafe for DeleteOptions
impl RefUnwindSafe for DeleteOptionsimpl Send for DeleteOptions
impl Send for DeleteOptionsimpl Sync for DeleteOptions
impl Sync for DeleteOptionsimpl Unpin for DeleteOptions
impl Unpin for DeleteOptionsimpl UnwindSafe for DeleteOptions
impl UnwindSafe for DeleteOptionsBlanket Implementations
impl<T> Instrument 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]
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> IntoRequest<T> for T[src]
impl<T> IntoRequest<T> for T[src]pub fn into_request(self) -> Request<T>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>, pub fn vzip(self) -> V
impl<T> WithSubscriber for T[src]
impl<T> WithSubscriber for T[src]pub fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>, [src]
S: Into<Dispatch>,