pub trait QueriableContainer {
type Idx;
type SubqueryId: FieldId;
const IDX_PLACEHOLDER: &'static str = "<idx>.";
// Required method
fn get_item(
&self,
idx: &Self::Idx,
) -> Option<&<Self::SubqueryId as FieldId>::Queriable>;
// Provided method
fn split(s: &str) -> Option<(&str, &str)> { ... }
}Expand description
Type that contains sub-queriables of the same type, individually retrieveable by some index. It is itself a Queriable.
Provided Associated Constants§
const IDX_PLACEHOLDER: &'static str = "<idx>."
Required Associated Types§
type Idx
type SubqueryId: FieldId
Required Methods§
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".