pub trait ComponentMutationObjectFactory:
Send
+ Sync
+ Lifecycle {
// Required methods
fn create_mutation_objects(&self) -> Vec<Object>;
fn create_mutation_object(&self, component: Component) -> Object;
fn create_update_field(&self, component: &Component) -> Option<Field>;
}Required Methods§
Sourcefn create_mutation_objects(&self) -> Vec<Object>
fn create_mutation_objects(&self) -> Vec<Object>
Creates the mutation objects for all components.
Sourcefn create_mutation_object(&self, component: Component) -> Object
fn create_mutation_object(&self, component: Component) -> Object
Creates the mutation object for the given component.
Sourcefn create_update_field(&self, component: &Component) -> Option<Field>
fn create_update_field(&self, component: &Component) -> Option<Field>
Creates the update field for the given component.