result: Make some fields public
Some fields that could be public are private.
Make them public to use in tests.
Also those structs are exposed to the user,
who might want to read ColumnSpec,
but can't read e.g column type because it's private.
@@ -40,7 +40,7 @@ pub struct TableSpec {
}
#[derive(Debug, Clone)]
-enum ColumnType {
+pub enum ColumnType {
Ascii,
Boolean,
Blob,
@@ -297,7 +297,7 @@ impl CqlValue {
pub struct ColumnSpec {
pub table_spec: TableSpec,
pub name: String,
- typ: ColumnType,
+ pub typ: ColumnType,
}
#[derive(Debug, Default)]
