State for the method dropdown
| 10 | use crate::theme::method_color; |
| 11 | |
| 12 | /// State for the method dropdown |
| 13 | pub struct MethodDropdownState { |
| 14 | pub selected: HttpMethod, |
| 15 | pub is_open: bool, |
| 16 | /// Tracks when the dropdown was last closed (to prevent immediate reopen on trigger click) |
| 17 | close_time: Option<std::time::Instant>, |
| 18 | closing_at: Option<std::time::Instant>, |
| 19 | close_epoch: u64, |
| 20 | } |
nothing calls this directly
no outgoing calls
no test coverage detected