Struct routing::EntryActions
[−]
[src]
pub struct EntryActions { /* fields omitted */ }
Helper struct to build entry actions on MutableData
Methods
impl EntryActions
[src]
fn new() -> Self
[src]
Create a helper to simplify construction of MutableData
actions
fn ins(self, key: Vec<u8>, content: Vec<u8>, version: u64) -> Self
[src]
Insert a new key-value pair
fn update(self, key: Vec<u8>, content: Vec<u8>, version: u64) -> Self
[src]
Update existing key-value pair
fn del(self, key: Vec<u8>, version: u64) -> Self
[src]
Delete existing key
Trait Implementations
impl Debug for EntryActions
[src]
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