pub struct SourceProject {
pub id: String,
pub root: PathBuf,
pub trusted: bool,
}Expand description
The known project whose files held a source.
Fields§
§id: StringThe overlay key.
root: PathBuf§trusted: boolIts manifests are trusted on this machine as they are now. An untrusted project is read like any other (reading changes nothing); its manifest takes the entry only after a trust review.
Trait Implementations§
Source§impl Clone for SourceProject
impl Clone for SourceProject
Auto Trait Implementations§
impl Forget for SourceProject
impl Freeze for SourceProject
impl Move for SourceProject
impl RefUnwindSafe for SourceProject
impl Send for SourceProjectwhere
RawVecInner: Send,
impl Sync for SourceProjectwhere
RawVecInner: Sync,
impl Unpin for SourceProject
impl UnsafeUnpin for SourceProject
impl UnwindSafe for SourceProjectwhere
RawVecInner: UnwindSafe,
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