We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b6d73d commit 64262a4Copy full SHA for 64262a4
scylla-cql/src/serialize/row.rs
@@ -37,6 +37,12 @@ impl<'a> RowSerializationContext<'a> {
37
}
38
39
40
+ /// Creates the serialization context directly from column specs.
41
+ #[inline]
42
+ pub fn from_specs(specs: &'a [ColumnSpec<'a>]) -> Self {
43
+ Self { columns: specs }
44
+ }
45
+
46
/// Constructs an empty `RowSerializationContext`, as if for a statement
47
/// with no bind markers.
48
#[inline]
0 commit comments