Skip to content

Commit

Permalink
Make Query fields public
Browse files Browse the repository at this point in the history
  • Loading branch information
romac committed Nov 15, 2022
1 parent d102af4 commit dfed789
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rpc/src/query.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ use crate::{prelude::*, Error};
#[derive(Debug, Clone, PartialEq)]
pub struct Query {
// We can only have at most one event type at present in a query.
event_type: Option<EventType>,
pub event_type: Option<EventType>,
// We can have zero or more additional conditions associated with a query.
// Conditions are currently exclusively joined by logical ANDs.
conditions: Vec<Condition>,
pub conditions: Vec<Condition>,
}

impl Query {
Expand Down

0 comments on commit dfed789

Please sign in to comment.