Skip to content

Commit b065d23

Browse files
committed
fix: search results - start_at, max_results, total optional 처리
1 parent f5959aa commit b065d23

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/jira/models.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,10 @@ pub struct Project {
7676
pub struct SearchResults {
7777
pub expand: Option<String>,
7878
#[serde(rename = "startAt")]
79-
pub start_at: i32,
79+
pub start_at: Option<i32>,
8080
#[serde(rename = "maxResults")]
81-
pub max_results: i32,
82-
pub total: i32,
81+
pub max_results: Option<i32>,
82+
pub total: Option<i32>,
8383
pub issues: Vec<Issue>,
8484
}
8585

0 commit comments

Comments
 (0)