pub struct Default;Expand description
Making one the default clears it on the owner’s others in the same commit.
Trait Implementations§
Source§impl Behavior for Default
impl Behavior for Default
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])
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
fn searched(&self) -> bool
fn search_fields(&self) -> &'static [SearchedField] ⓘ
Auto Trait Implementations§
impl Freeze for Default
impl RefUnwindSafe for Default
impl Send for Default
impl Sync for Default
impl Unpin for Default
impl UnsafeUnpin for Default
impl UnwindSafe for Default
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