Struct etcd_rs::KeyValue [−][src]
pub struct KeyValue { /* fields omitted */ }Expand description
Key-Value pair.
Implementations
Gets the key in bytes. An empty key is not allowed.
Takes the key out of response, leaving an empty vector in its place.
Converts the key from bytes &[u8] to &str.
Leaves the original &[u8] in place, and creates a new string slice containing the entire content.
Gets the value held by the key, in bytes.
Takes the value out of response, leaving an empty vector in its place.
Converts the value from bytes &[u8] to &str.
Leaves the original &[u8] in place, and creates a new string slice containing the entire content.
Gets the revision of last creation on this key.
Gets the revision of last modification on this key.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for KeyValue
impl UnwindSafe for KeyValue
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
