Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Commit

Permalink
Made Schema fields public.
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgecarleitao committed Nov 28, 2021
1 parent b556fcb commit 747ef82
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/datatypes/schema.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,10 @@ use super::Field;
/// An ordered sequence of [`Field`] with optional metadata.
#[derive(Debug, Clone, PartialEq, Eq)]
pub struct Schema {
pub(crate) fields: Vec<Field>,
/// The fields composing this schema.
pub fields: Vec<Field>,
/// A map of key-value pairs containing additional meta data.
pub(crate) metadata: HashMap<String, String>,
pub metadata: HashMap<String, String>,
}

impl Schema {
Expand Down

0 comments on commit 747ef82

Please sign in to comment.