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