ydb 0.16.1

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
17
18
use crate::grpc_wrapper::raw_ydb_operation::RawOperationParams;
use ydb_grpc::ydb_proto::table::DropTableRequest;

pub(crate) struct RawDropTableRequest {
    pub session_id: String,
    pub path: String,
    pub operation_params: RawOperationParams,
}

impl From<RawDropTableRequest> for DropTableRequest {
    fn from(value: RawDropTableRequest) -> Self {
        Self {
            session_id: value.session_id,
            path: value.path,
            operation_params: Some(value.operation_params.into()),
        }
    }
}