pub fn has_timerange(&self, timestamp_range: Option<&TimestampRange>) -> bool {
        match (self.timestamp_min_max, timestamp_range) {
            (Some(timestamp_min_max), Some(timestamp_range)) => {
                timestamp_min_max.overlaps(*timestamp_range)
            }
            // If this chunk doesn't have a time column it can't match
            (None, Some(_)) => false,
            // If there no range specified,
            (_, None) => true,
        }
    }
/// Return true if this chunk contains values within the time range, or if
/// the range is `None`.
Return true if this chunk contains values within the time range, or if
the range is `None`.
Return true if this chunk contains values within the time range or if the range is ` None ` .
pub fn has_timerange(&self, timestamp_range: Option<&TimestampRange>) -> bool {
        match (self.timestamp_min_max, timestamp_range) {
            (Some(timestamp_min_max), Some(timestamp_range)) => {
                timestamp_min_max.overlaps(*timestamp_range)
            }
            // If this chunk doesn't have a time column it can't match
            (None, Some(_)) => false,
            // If there no range specified,
            (_, None) => true,
        }
    }
pub fn has_timerange ( & self , timestamp_range : Option < & TimestampRange > ) -> bool { match ( self . timestamp_min_max , timestamp_range ) { ( Some ( timestamp_min_max ) , Some ( timestamp_range ) ) => { timestamp_min_max . overlaps ( * timestamp_range ) } // If this chunk doesn't have a time column it can't match ( None , Some ( _ ) ) => false , // If there no range specified, ( _ , None ) => true , } }
Return true if this chunk contains values within the time range, or if
the range is `None`.
Return true if this chunk contains values within the time range or if the range is ` None ` .
&self
timestamp_range
Option<&TimestampRange>
&self
timestamp_range
Option<&TimestampRange>