Struct DatapackLoadError
pub struct DatapackLoadError {
pub registry: String,
pub entry: String,
pub file: String,
pub reason: DatapackLoadReason,
}Expand description
A refused candidate: which registry, entry and file, and why.
Fields§
§registry: StringThe registry’s key (example:spell).
entry: StringThe entry’s id (addon:fire), as far as it was known.
file: StringThe file the entry came from.
reason: DatapackLoadReasonWhat was wrong.
Trait Implementations§
§impl Clone for DatapackLoadError
impl Clone for DatapackLoadError
§fn clone(&self) -> DatapackLoadError
fn clone(&self) -> DatapackLoadError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for DatapackLoadError
impl Debug for DatapackLoadError
impl Eq for DatapackLoadError
§impl PartialEq for DatapackLoadError
impl PartialEq for DatapackLoadError
impl StructuralPartialEq for DatapackLoadError
Auto Trait Implementations§
impl Freeze for DatapackLoadError
impl RefUnwindSafe for DatapackLoadError
impl Send for DatapackLoadError
impl Sync for DatapackLoadError
impl Unpin for DatapackLoadError
impl UnsafeUnpin for DatapackLoadError
impl UnwindSafe for DatapackLoadError
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