Comments (2)
Hm, it appears in mattnenterprise/rust-imap#58 another type was added with the same name (Capabilities
, pub struct Capabilities(pub(crate) HashSet<&'static str>);
), and it can somehow access the innards of this type in https://github.com/mattnenterprise/rust-imap/blob/5a3ee10b18a2f01e4c14c3982294d53b9a92997c/src/parse.rs#L108-L130 .
from imap-proto.
Yeah, it seems to me that you can usually get at the contents by just matching against it.
I'm not sure about making fields public. The API guidelines state that things should be private with getters so that you can change implementation details without necessarily changing the API.
from imap-proto.
Related Issues (11)
- Add re-export of nom's `IResult` HOT 2
- UNSEEN response data not parsed HOT 1
- Derive equality for simple types HOT 2
- LSUB response type not supported HOT 1
- No support for non-UTF8 parsing HOT 6
- Prefer variant structs over variant tuples HOT 1
- Fix integer overflow during parsing
- Error handling improvement HOT 6
- Parse `FETCH ... BODYSTRUCTURE` response HOT 6
- CommandBuilder quotation HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from imap-proto.