Skip to content

Commit d20c233

Browse files
committed
iterator: unpub fields of nonpub structs
1 parent 681f4ce commit d20c233

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

scylla/src/transport/iterator.rs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -69,18 +69,18 @@ pub struct RowIterator {
6969
}
7070

7171
struct ReceivedPage {
72-
pub rows: Rows,
73-
pub tracing_id: Option<Uuid>,
72+
rows: Rows,
73+
tracing_id: Option<Uuid>,
7474
}
7575

7676
pub(crate) struct PreparedIteratorConfig {
77-
pub prepared: PreparedStatement,
78-
pub values: SerializedValues,
79-
pub partition_key: Option<Bytes>,
80-
pub token: Option<Token>,
81-
pub execution_profile: Arc<ExecutionProfileInner>,
82-
pub cluster_data: Arc<ClusterData>,
83-
pub metrics: Arc<Metrics>,
77+
pub(crate) prepared: PreparedStatement,
78+
pub(crate) values: SerializedValues,
79+
pub(crate) partition_key: Option<Bytes>,
80+
pub(crate) token: Option<Token>,
81+
pub(crate) execution_profile: Arc<ExecutionProfileInner>,
82+
pub(crate) cluster_data: Arc<ClusterData>,
83+
pub(crate) metrics: Arc<Metrics>,
8484
}
8585

8686
/// Fetching pages is asynchronous so `RowIterator` does not implement the `Iterator` trait.\

0 commit comments

Comments
 (0)