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