pub struct ParamSpec {
pub key: Key,
pub kind: Kind,
pub requires: &'static [Dependency],
pub learnable: bool,
pub content_changing: bool,
pub group: Group,
}Expand description
One field’s entry in the schema.
Fields§
§key: KeyThe field.
kind: KindWhat it holds.
requires: &'static [Dependency]What it needs before it does anything.
learnable: boolWhether an edit may write it.
content_changing: boolWhether changing it can change the content that comes back, rather than only how the fetch is carried out.
group: GroupWhere it sits in the table.
Trait Implementations§
impl Copy for ParamSpec
impl Eq for ParamSpec
impl StructuralPartialEq for ParamSpec
Auto Trait Implementations§
impl Forget for ParamSpec
impl Freeze for ParamSpec
impl Move for ParamSpec
impl RefUnwindSafe for ParamSpec
impl Send for ParamSpec
impl Sync for ParamSpec
impl Unpin for ParamSpec
impl UnsafeUnpin for ParamSpec
impl UnwindSafe for ParamSpec
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