pub struct GoMod {
pub comment: Vec<String>,
pub module: String,
pub go: Option<String>,
pub godebug: HashMap<String, String>,
pub tool: Vec<String>,
pub toolchain: Option<String>,
pub require: Vec<ModuleDependency>,
pub exclude: Vec<ModuleDependency>,
pub replace: Vec<ModuleReplacement>,
pub retract: Vec<ModuleRetract>,
}
Fields§
§comment: Vec<String>
§module: String
§go: Option<String>
§godebug: HashMap<String, String>
§tool: Vec<String>
§toolchain: Option<String>
§require: Vec<ModuleDependency>
§exclude: Vec<ModuleDependency>
§replace: Vec<ModuleReplacement>
§retract: Vec<ModuleRetract>
Trait Implementations§
impl Eq for GoMod
impl StructuralPartialEq for GoMod
Auto Trait Implementations§
impl Freeze for GoMod
impl RefUnwindSafe for GoMod
impl Send for GoMod
impl Sync for GoMod
impl Unpin for GoMod
impl UnwindSafe for GoMod
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