Trait xylem::OptionSchemaExt[][src]

pub trait OptionSchemaExt: Schema { }
Expand description

Implement this trait for a schema type to support standard Option conversion.

This allows Option<T> to be converted from Option<T::From>, using the conversion for T if it is a Some, preserving None otherwise. The argument type is passed as-is.

Implementors