Skip to content
Snippets Groups Projects
Commit d75fc57d authored by Maaz Ahmed's avatar Maaz Ahmed
Browse files

fix: make Offset fields pub

parent cd1d420d
No related branches found
No related tags found
1 merge request!24Resolve "Subquery support"
...@@ -244,7 +244,7 @@ impl From<(u64, Unit)> for Duration { ...@@ -244,7 +244,7 @@ impl From<(u64, Unit)> for Duration {
/// Specify time offset for the queries /// Specify time offset for the queries
#[derive(Debug, Clone, Copy)] #[derive(Debug, Clone, Copy)]
pub struct Offset(i64, Unit); pub struct Offset(pub i64, pub Unit);
impl Display for Offset { impl Display for Offset {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment