pub struct ModuleSpec {
pub module_path: String,
pub go_version: String,
pub toolchain: Option<String>,
pub has_external_deps: bool,
pub dep_mode: DepMode,
pub vendor_hash: Option<String>,
}Fields§
§module_path: Stringgo.mod module directive, e.g. akeyless.io/akeyless-main-repo.
go_version: Stringgo.mod go directive, e.g. "1.26".
toolchain: Option<String>go.mod toolchain directive when pinned, e.g. "go1.26.4".
has_external_deps: boolTrue when go.mod declares any require edge (drives the coarse
vendorHash decision on the fallback path).
dep_mode: DepModeM1 ⇒ Vendored. Proxy is the M-proxy milestone.
vendor_hash: Option<String>Coarse/fallback only. The M1 incremental path never fetches
(-mod=vendor, GOPROXY=off) ⇒ None.
Trait Implementations§
Source§impl Clone for ModuleSpec
impl Clone for ModuleSpec
Source§fn clone(&self) -> ModuleSpec
fn clone(&self) -> ModuleSpec
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ModuleSpec
impl Debug for ModuleSpec
Source§impl<'de> Deserialize<'de> for ModuleSpec
impl<'de> Deserialize<'de> for ModuleSpec
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 Freeze for ModuleSpec
impl RefUnwindSafe for ModuleSpec
impl Send for ModuleSpec
impl Sync for ModuleSpec
impl Unpin for ModuleSpec
impl UnsafeUnpin for ModuleSpec
impl UnwindSafe for ModuleSpec
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