pub trait FromJava: Sized {
fn from_value(value: &Value) -> ConversionResult<Self>;
}
Expand description
Trait for structs that can be converted from a deserialized Java Value
Required Methods§
sourcefn from_value(value: &Value) -> ConversionResult<Self>
fn from_value(value: &Value) -> ConversionResult<Self>
Convert content read from a java stream into Self