#[non_exhaustive]pub struct AdoptedProfile {
pub adopted: Vec<String>,
pub reinstalled: Vec<String>,
}Expand description
What adopt_r2modman_dir_in adopted, and what it had to reinstall to leave
the profile coherent.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.adopted: Vec<String>Every identifier the adopted mods.yml names, in the order it named them.
reinstalled: Vec<String>The subset reinstalled from Thunderstore so it would have an install record, in the order they were reinstalled.
Each came from the package’s latest version, so a version the source profile had pinned is not preserved. A caller that shows this to a user should say so.
Trait Implementations§
Source§impl Clone for AdoptedProfile
impl Clone for AdoptedProfile
Source§impl Debug for AdoptedProfile
impl Debug for AdoptedProfile
Auto Trait Implementations§
impl Freeze for AdoptedProfile
impl RefUnwindSafe for AdoptedProfile
impl Send for AdoptedProfile
impl Sync for AdoptedProfile
impl Unpin for AdoptedProfile
impl UnsafeUnpin for AdoptedProfile
impl UnwindSafe for AdoptedProfile
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