An Either struct, that allows serialization to more formats (specifically TOML).
This library is heavily influenced by the Either enum library. If you don't need struct specific serialization, you may want to use the enum Either instead.
serde
- Enable serialization (on by default)unstable
- Enable unstable options (nightly only, off by default)
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or https://opensource.org/licenses/MIT) at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.