ok-nick / ubs

fetch University at Buffalo class schedules in real-time
https://docs.rs/ubs-lib
MIT License
1 stars 0 forks source link

Remove `Query` from high-level API? #5

Closed ok-nick closed 1 year ago

ok-nick commented 1 year ago

In schedule_iter, the Query::new parameters can be passed individually and the Session can clone the Query or wrap it in an Arc.

I don't believe there's much use for a separate Query struct besides making it easier to pass around parameters internally.