Struct kinetic::commands::Put [−] [src]

pub struct Put {
    pub key: Vec<u8>,
    pub value: Vec<u8>,
    pub new_version: Vec<u8>,
    pub current_version: Versioning,
    pub synchronization: Synchronization,
    pub integrity: Option<Integrity>,
}

Stores the value asociated with the key

Fields

key

Key to store.

value

Value to store associated with the key.

new_version

The version of the value being stored.

current_version

The version of value currently stored in the device.

synchronization

Write synchronization mode

integrity

End to end data integrity

Trait Implementations

impl Default for Put

fn default() -> Put

impl Command<PutResponse> for Put

fn build_proto(self) -> (Command, Option<Vec<u8>>)