pub struct InjectDef {
pub base: Option<String>,
pub errs: Option<Value>,
pub meta: Option<Value>,
pub modify: Option<Modify>,
pub handler: Option<NativeFn>,
pub extra: Option<Value>,
pub dparent: Option<Value>,
pub dpath: Option<Vec<String>>,
pub key: Option<Value>,
}Expand description
Public injdef argument — the subset of Partial<Injection> callers set.
Fields§
§base: Option<String>§errs: Option<Value>§meta: Option<Value>§modify: Option<Modify>§handler: Option<NativeFn>§extra: Option<Value>§dparent: Option<Value>§dpath: Option<Vec<String>>§key: Option<Value>Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for InjectDef
impl !Send for InjectDef
impl !Sync for InjectDef
impl !UnwindSafe for InjectDef
impl Freeze for InjectDef
impl Unpin for InjectDef
impl UnsafeUnpin for InjectDef
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