pub enum ProjectSource {
Synthesized,
Manifest {
path: RelativePath,
},
}Expand description
Where a request’s project identity comes from.
Variants§
Synthesized
No manifest. Name, version and configuration are synthesized.
Manifest
Identity comes from the manifest at this path, relative to the development root, while the selection decides the sources.
Fields
§
path: RelativePathTrait Implementations§
Source§impl Clone for ProjectSource
impl Clone for ProjectSource
Source§impl Debug for ProjectSource
impl Debug for ProjectSource
Source§impl<'de> Deserialize<'de> for ProjectSource
impl<'de> Deserialize<'de> for ProjectSource
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ProjectSource
Source§impl PartialEq for ProjectSource
impl PartialEq for ProjectSource
Source§impl Serialize for ProjectSource
impl Serialize for ProjectSource
impl StructuralPartialEq for ProjectSource
Auto Trait Implementations§
impl Freeze for ProjectSource
impl RefUnwindSafe for ProjectSource
impl Send for ProjectSource
impl Sync for ProjectSource
impl Unpin for ProjectSource
impl UnsafeUnpin for ProjectSource
impl UnwindSafe for ProjectSource
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