(id: usize, index: usize, name: impl Into<SharedString>, method: HttpMethod)
| 19 | pub id: usize, |
| 20 | pub index: usize, |
| 21 | pub name: SharedString, |
| 22 | pub icon: TabIcon, |
| 23 | pub is_active: bool, |
| 24 | } |
| 25 | |
| 26 | impl TabInfo { |
| 27 | pub fn new(id: usize, index: usize, name: impl Into<SharedString>, icon: TabIcon) -> Self { |
| 28 | Self { |
| 29 | id, |
| 30 | index, |
| 31 | name: name.into(), |
| 32 | icon, |
nothing calls this directly
no test coverage detected