#value #maybe

maybe

An enum similar to Option but can also represent undefined values

1 unstable release

new 0.1.0 May 5, 2025

#786 in Data structures

MIT/Apache

9KB
221 lines

Maybe

A simple enum similar to Option<T> but with three variants:

  • Some(T)
  • None
  • Void (for representing undefined values)

Works with serde and async-graphql

Dependencies

~0–11MB
~148K SLoC