pub struct DiscoveredMod {
pub mod_id: String,
pub display_name: String,
pub version: Option<String>,
pub files: Vec<DiscoveredFile>,
pub source: ModSource,
pub confidence: f64,
}Expand description
A mod found by a ModScanner, with its identity, files, source, and a
confidence score for how certain the scanner is about the detection.
Fields§
§mod_id: String§display_name: String§version: Option<String>§files: Vec<DiscoveredFile>§source: ModSource§confidence: f64Trait Implementations§
Source§impl Clone for DiscoveredMod
impl Clone for DiscoveredMod
Source§fn clone(&self) -> DiscoveredMod
fn clone(&self) -> DiscoveredMod
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 moreAuto Trait Implementations§
impl Freeze for DiscoveredMod
impl RefUnwindSafe for DiscoveredMod
impl Send for DiscoveredMod
impl Sync for DiscoveredMod
impl Unpin for DiscoveredMod
impl UnsafeUnpin for DiscoveredMod
impl UnwindSafe for DiscoveredMod
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