fansehep commented on issue #4693:
URL: https://github.com/apache/arrow-rs/issues/4693#issuecomment-1755239878

   
   > so for example, we would implement `FromStr` for 
https://docs.rs/parquet/45.0.0/parquet/format/struct.Encoding.html would allow 
something like this:例如,我们为 
https://docs.rs/parquet/45.0.0/parquet/format/struct.Encoding.html 实现 `FromStr` 
将允许这样的事情:
   > 
   > ```rust
   > // call `parse` to implement FromStr
   > let encoding: Encoding = "PLAIN".parse().unwrap();
   > // call parse again, case insensitive
   > let encoding: Encoding = "plain".parse().unwrap();
   > ```
   
   Thanks for your help. 😃 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to