pub trait TreeIdentity {
// Required methods
fn auto_id<'a, I>(descendents: I) -> Result<bool, ToqlError>
where I: Iterator<Item = FieldPath<'a>>;
fn set_id<'a, 'b, I>(
&mut self,
descendents: I,
action: &'b IdentityAction,
) -> Result<(), ToqlError>
where I: Iterator<Item = FieldPath<'a>> + Clone;
}
Expand description
Deal with primary and foreign keys in nested structs.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.