pub struct RequiredObject {
pub name: String,
pub store: StoreKind,
pub validator: Box<RequiredValidator>,
}Expand description
Required object that a consumer crate declares for setup validation.
Fields§
§name: StringHuman-readable name, such as symbols table or wiki_docs table.
store: StoreKindStore kind that owns the object.
validator: Box<RequiredValidator>Consumer-supplied check function.
Auto Trait Implementations§
impl !RefUnwindSafe for RequiredObject
impl !Send for RequiredObject
impl !Sync for RequiredObject
impl !UnwindSafe for RequiredObject
impl Freeze for RequiredObject
impl Unpin for RequiredObject
impl UnsafeUnpin for RequiredObject
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