Struct aerospike::Record
[−]
[src]
pub struct Record { pub key: Option<Key>, pub bins: HashMap<String, Value>, pub generation: u32, // some fields omitted }
Container object for a database record.
Fields
key: Option<Key>
Record key. When reading a record from the database, the key is not set in the returned Record struct.
bins: HashMap<String, Value>
Map of named record bins.
generation: u32
Record modification count.
Methods
impl Record
[src]
fn time_to_live(&self) -> Option<Duration>
[src]
Returns the remaining time-to-live (TTL, a.k.a. expiration time) for the record or None
if the record never expires.