pub trait ContextClone {
// Required method
fn clone_with_context(&self, context: &Value) -> Result<Self>
where Self: Sized;
}Expand description
Cloneable trait for objects that can be cloned with context
Required Methods§
Sourcefn clone_with_context(&self, context: &Value) -> Result<Self>where
Self: Sized,
fn clone_with_context(&self, context: &Value) -> Result<Self>where
Self: Sized,
Clone the object with additional context