pub struct GoVersion {
pub version: String,
pub time: Option<String>,
pub is_pseudo: bool,
pub retracted: bool,
}Expand description
Version information from proxy.golang.org.
Fields§
§version: StringVersion string (e.g., “v1.9.1”)
time: Option<String>Timestamp when version was published
is_pseudo: boolWhether this is a pseudo-version
retracted: boolWhether this version is retracted
Trait Implementations§
Source§impl Version for GoVersion
impl Version for GoVersion
Auto Trait Implementations§
impl Freeze for GoVersion
impl RefUnwindSafe for GoVersion
impl Send for GoVersion
impl Sync for GoVersion
impl Unpin for GoVersion
impl UnwindSafe for GoVersion
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