useserde_json::Value;pubtraitItem{/// It creates a new instance of the desired item.
fnnew()->Self;/// Load the default webpage and store it.
/// Each call of the load function will clear the old data and override it.
fnload(&mutself)->&mutSelf;/// Load `url` and store it.
/// Each call of the load function will clear the old data and override it.
fnload_from_page(&mutself, url:&str)->&mutSelf;/// It exports the item in json format.
fnexport(&self)-> Value;/// Removes all existing data from the item.
fnclear(&mutself)->&mutSelf;}