pub struct Searched {
pub fields: &'static [SearchedField],
}Fields§
§fields: &'static [SearchedField]Trait Implementations§
Source§impl Behavior for Searched
impl Behavior for Searched
Source§fn columns(&self) -> &'static [Field]
fn columns(&self) -> &'static [Field]
Stored after the id and before the aggregate’s own fields.
fn written(&self, write: &Write<'_>, values: &mut [SqlValue])
fn searched(&self) -> bool
fn search_fields(&self) -> &'static [SearchedField] ⓘ
Source§fn planned(&self, write: &Write<'_>, plan: &mut Plan<'_>) -> Result<()>
fn planned(&self, write: &Write<'_>, plan: &mut Plan<'_>) -> Result<()>
Runs once every behavior has set its columns.
fn guards(&self) -> bool
fn hides(&self) -> Option<&'static str>
fn broadcasts(&self) -> bool
Auto Trait Implementations§
impl Forget for Searched
impl Freeze for Searched
impl RefUnwindSafe for Searched
impl Send for Searched
impl Sync for Searched
impl Unpin for Searched
impl UnsafeUnpin for Searched
impl UnwindSafe for Searched
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