pub struct GoListModule {
pub path: String,
pub version: Option<String>,
pub main: bool,
pub go_version: Option<String>,
}Fields§
§path: String§version: Option<String>Absent for the main module; Some for a vendored dep.
main: boolTrue for the main module.
go_version: Option<String>Trait Implementations§
Source§impl Clone for GoListModule
impl Clone for GoListModule
Source§fn clone(&self) -> GoListModule
fn clone(&self) -> GoListModule
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 GoListModule
impl Debug for GoListModule
Source§impl<'de> Deserialize<'de> for GoListModule
impl<'de> Deserialize<'de> for GoListModule
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 GoListModule
impl RefUnwindSafe for GoListModule
impl Send for GoListModule
impl Sync for GoListModule
impl Unpin for GoListModule
impl UnsafeUnpin for GoListModule
impl UnwindSafe for GoListModule
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