1 2 3 4 5 6
use crate::error::QueryError; use crate::BodhiService; pub trait Edit<T> { fn edit(&self, bodhi: &BodhiService) -> Result<T, QueryError>; }
1 2 3 4 5 6
use crate::error::QueryError; use crate::BodhiService; pub trait Edit<T> { fn edit(&self, bodhi: &BodhiService) -> Result<T, QueryError>; }