Skip to content

Commit 28d9c24

Browse files
committed
Make File fields pub
1 parent 8ba7572 commit 28d9c24

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

openai_client/src/multipart.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ use crate::ConversaError;
55
#[derive(Debug, PartialEq, Serialize, Deserialize)]
66
pub struct File {
77
#[serde(skip)]
8-
file_name: String,
9-
file_data: Vec<u8>,
8+
pub file_name: String,
9+
pub file_data: Vec<u8>,
1010
}
1111

1212
impl TryFrom<&std::path::Path> for File {

0 commit comments

Comments
 (0)