ydb 0.11.2

Crate contains generated low-level grpc code from YDB API protobuf, used as base for ydb crate
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use crate::errors;
use derive_builder::Builder;
use std::time::Duration;

#[allow(dead_code)]
#[derive(Builder, Clone)]
#[builder(build_fn(error = "errors::YdbError"))]
pub struct SessionOptions {
    #[builder(default = "Duration::from_secs(20)")]
    pub(crate) timeout: Duration,

    #[builder(setter(strip_option), default)]
    pub(crate) description: Option<String>,
    // TODO: seq_no: auto / custom
    // TODO: protection_key: auto / custom
}