Skip to content

Commit

Permalink
make ClusterTime members private
Browse files Browse the repository at this point in the history
  • Loading branch information
isabelatkinson committed Mar 29, 2021
1 parent a4bcbd9 commit 95f623e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/client/session/cluster_time.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ use crate::bson::{Document, Timestamp};
#[derivative(PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct ClusterTime {
pub cluster_time: Timestamp,
cluster_time: Timestamp,

#[derivative(PartialEq = "ignore")]
pub signature: Document,
signature: Document,
}

impl std::cmp::Ord for ClusterTime {
Expand Down

0 comments on commit 95f623e

Please sign in to comment.