Struct routing::EntryActions
[−]
[src]
pub struct EntryActions { /* fields omitted */ }
Helper struct to build entry actions on MutableData
Methods
impl EntryActions
[src]
pub fn new() -> Self
[src]
Create a helper to simplify construction of MutableData
actions
pub fn ins(self, key: Vec<u8>, content: Vec<u8>, version: u64) -> Self
[src]
Insert a new key-value pair
pub fn update(self, key: Vec<u8>, content: Vec<u8>, version: u64) -> Self
[src]
Update existing key-value pair
pub fn del(self, key: Vec<u8>, version: u64) -> Self
[src]
Delete existing key
Trait Implementations
impl Debug for EntryActions
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Default for EntryActions
[src]
fn default() -> EntryActions
[src]
Returns the "default value" for a type. Read more
impl Clone for EntryActions
[src]
fn clone(&self) -> EntryActions
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more