fn filter_by_runtime(&self, resource: &Resource, config: &ResourceConfig) -> bool {
        if let (Some(ref older_than), Some(st)) =
            (config.max_run_time, resource.start_time.as_deref())
        {
            crate::util::is_ts_older_than(st, older_than)
        } else {
            false
        }
    }
/// Filters a resource based on its start time
Filters a resource based on its start time
Filters a resource based on its start time
fn filter_by_runtime(&self, resource: &Resource, config: &ResourceConfig) -> bool {
        if let (Some(ref older_than), Some(st)) =
            (config.max_run_time, resource.start_time.as_deref())
        {
            crate::util::is_ts_older_than(st, older_than)
        } else {
            false
        }
    }
fn filter_by_runtime ( & self , resource : & Resource , config : & ResourceConfig ) -> bool { if let ( Some ( ref older_than ) , Some ( st ) ) = ( config . max_run_time , resource . start_time . as_deref ( ) ) { crate :: util :: is_ts_older_than ( st , older_than ) } else { false } }
Filters a resource based on its start time
Filters a resource based on its start time
&self
resource
&Resource
config
&ResourceConfig