Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not possible to construct ListOptions #5

Closed
lebe-dev opened this issue Jun 14, 2023 · 1 comment
Closed

Not possible to construct ListOptions #5

lebe-dev opened this issue Jun 14, 2023 · 1 comment

Comments

@lebe-dev
Copy link

Hi.

It is not possible to construct ListOptions struct because all properties are private. Or maybe i missed something?

#[derive(Serialize, Default, Clone)]
#[serde(rename_all = "camelCase")]
pub struct ListOptions {
    /// Maximum number of task lists returned on one page.
    /// Optional. The default is 20 (max allowed: 100).
    max_results: Option<u64>,

    /// Token specifying the result page to return. Optional.
    page_token: Option<String>,
}

Could you make it public or implement constructor?

@makarski
Copy link
Owner

makarski commented Jul 3, 2023

Merged the respective PR #6. Thank you!

@makarski makarski closed this as completed Jul 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants