pub struct Scope {Show 16 fields
pub platform: Platform,
pub architecture: Architecture,
pub repository: PathBuf,
pub repository_id: String,
pub profiles: BTreeSet<String>,
pub tool: String,
pub binary: String,
pub package: String,
pub version: String,
pub executable: PathBuf,
pub home: PathBuf,
pub search_dirs: Vec<PathBuf>,
pub tool_search_dirs: Vec<PathBuf>,
pub bound_tools: BTreeSet<String>,
pub npm: Option<Scope>,
pub brew: Option<Scope>,
}Fields§
§platform: Platform§architecture: Architecture§repository: PathBuf§repository_id: String§profiles: BTreeSet<String>§tool: String§binary: String§package: String§version: String§executable: PathBuf§home: PathBuf§search_dirs: Vec<PathBuf>§tool_search_dirs: Vec<PathBuf>§bound_tools: BTreeSet<String>§npm: Option<Scope>Present only for npm; other provider records omit it.
brew: Option<Scope>Schema 3 only. Provider-current selection is not an exact pin.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Scope
impl<'de> Deserialize<'de> for Scope
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
Auto Trait Implementations§
impl Forget for Scope
impl Freeze for Scope
impl Move for Scope
impl RefUnwindSafe for Scope
impl Send for Scope
impl Sync for Scope
impl Unpin for Scope
impl UnsafeUnpin for Scope
impl UnwindSafe for Scope
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