pub trait MutableValue<'doc>: Sized {
type BaseType: DeserializeOwned;
// Required method
fn mutable_version(
base: Self::BaseType,
document: &'doc mut Document,
path: Box,
) -> Result<Self>;
}Expand description
This trait describes a Ditto type for which modifications do not follow the regular assignment policy.
Required Associated Types§
Required Methods§
fn mutable_version( base: Self::BaseType, document: &'doc mut Document, path: Box, ) -> Result<Self>
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.