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

Field text in MessageRequestContentTextObject is private #256

Closed
Sliman4 opened this issue Aug 13, 2024 · 0 comments · Fixed by #258
Closed

Field text in MessageRequestContentTextObject is private #256

Sliman4 opened this issue Aug 13, 2024 · 0 comments · Fixed by #258

Comments

@Sliman4
Copy link

Sliman4 commented Aug 13, 2024

Is there a way to create this struct without direct instantiation as a struct? I couldn't find any, and all the neighboring structs have all fields public

#[derive(Clone, Serialize, Debug, Deserialize, PartialEq)]
pub struct MessageRequestContentTextObject {
/// Text content to be sent to the model
text: String,
}

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

Successfully merging a pull request may close this issue.

1 participant