pub trait BuildIter {
type FilterItem;
type Item;
type Collection;
// Required methods
fn update_item(
&self,
data: &Self::Item,
api: Rc<MailchimpApi>,
) -> Self::Item;
fn update_filter_offset(
&self,
filter: &Self::FilterItem,
) -> Self::FilterItem;
}
Expand description
Build Iter
Required Associated Types§
Sourcetype FilterItem
type FilterItem
Define the type of the Filter
Sourcetype Collection
type Collection
Define the type collection
Required Methods§
Sourcefn update_item(&self, data: &Self::Item, api: Rc<MailchimpApi>) -> Self::Item
fn update_item(&self, data: &Self::Item, api: Rc<MailchimpApi>) -> Self::Item
Create a resource from the data passed by parameter
Sourcefn update_filter_offset(&self, filter: &Self::FilterItem) -> Self::FilterItem
fn update_filter_offset(&self, filter: &Self::FilterItem) -> Self::FilterItem
Update Filter Offset