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