Trait Update
pub trait Update: Deserialize {
// Required method
fn update(&mut self, val: &Intermediate) -> Result<(), Error>;
}Expand description
Update trait.
The trait can be used for objects that can be updated from the intermediate representation.
Required Methodsยง
fn update(&mut self, val: &Intermediate) -> Result<(), Error>
fn update(&mut self, val: &Intermediate) -> Result<(), Error>
Update the object.