Skip to content

Commit

Permalink
Make field mask inner public
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew committed Jan 6, 2024
1 parent ee4ed07 commit 1ee4014
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion google-apis-common/src/field_mask.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ fn snakecase(source: &str) -> String {

/// A `FieldMask` as defined in `https://github.com/protocolbuffers/protobuf/blob/ec1a70913e5793a7d0a7b5fbf7e0e4f75409dd41/src/google/protobuf/field_mask.proto#L180`
#[derive(Clone, Debug, Default, PartialEq, Eq)]
pub struct FieldMask(Vec<String>);
pub struct FieldMask(pub Vec<String>);

impl Serialize for FieldMask {
fn serialize<S>(&self, s: S) -> Result<S::Ok, S::Error>
Expand Down

0 comments on commit 1ee4014

Please sign in to comment.