pub trait IntoMaybeUndefined<T> {
// Required method
fn into_maybe_undefined(self) -> MaybeUndefined<T>;
}Expand description
Utility trait for builder methods for optional values.
This allows the caller to either pass in the value itself without wrapping it in Some,
or to just pass in an Option if that is what they have, or set it back to undefined.