pub trait ToInputValue<S = DefaultScalarValue>: Sized {
// Required method
fn to_input_value(&self) -> InputValue<S>;
}
Expand description
Losslessly clones a Rust data type into an InputValue.
Required Methods§
Sourcefn to_input_value(&self) -> InputValue<S>
fn to_input_value(&self) -> InputValue<S>
Performs the conversion.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.