pub struct SharedSelectable<T> {
pub inner: T,
}Fields§
§inner: TTrait Implementations§
type SelectedType = Arc<E>
type State = HashMap<EntityId<<E as Entity>::EntityIdType>, Arc<E>>
fn select_columns(&self, out: &mut String, _bindings: &mut QueryBindings<'a>)
fn num_columns() -> usize
fn create_state() -> Self::State
fn hydrate(row: &Row, offset: usize, state: &mut Self::State) -> Arc<E>
type SelectedType = Option<Arc<E>>
type State = HashMap<EntityId<<E as Entity>::EntityIdType>, Arc<E>>
fn select_columns(&self, out: &mut String, _bindings: &mut QueryBindings<'a>)
fn num_columns() -> usize
fn create_state() -> Self::State
fn hydrate(row: &Row, offset: usize, state: &mut Self::State) -> Option<Arc<E>>
Auto Trait Implementations§
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more