pub struct SrcModel {
pub spec: String,
pub owner: String,
pub repo: String,
pub reference: String,
pub resolved_version: String,
pub checkout_dir: String,
pub npm_package_name: Option<String>,
}Expand description
ask src <spec> --json output — the stable machine-readable handoff that
downstream tools (e.g. csp) consume. checkout_dir is the version-pinned,
content-stable store path they index. Mirrors SrcModelSchema.
Fields§
§spec: String§owner: String§repo: String§reference: String§resolved_version: String§checkout_dir: String§npm_package_name: Option<String>Trait Implementations§
impl Eq for SrcModel
impl StructuralPartialEq for SrcModel
Auto Trait Implementations§
impl Forget for SrcModel
impl Freeze for SrcModel
impl Move for SrcModel
impl RefUnwindSafe for SrcModel
impl Send for SrcModel
impl Sync for SrcModel
impl Unpin for SrcModel
impl UnsafeUnpin for SrcModel
impl UnwindSafe for SrcModel
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