pub struct Version {
pub major: i64,
pub minor: i64,
pub patch: Option<i64>,
pub git_commit: String,
}Expand description
A struct representing a version of the DAP specification. This version corresponds to the changelog
Fields§
§major: i64Major version.
minor: i64Minor version.
patch: Option<i64>Patch version. Historically, this is “x” in the changelog for most versions. That value
is represented as None here.
git_commit: StringThe git commit in the DAP repo that corresponds to this version. Please note that historically, versions (as of 1.62.x) are not tagged in the DAP repo. Until that changes, we are using the commit that updates the JSON-schema in the gh-pages branch.
Trait Implementations§
impl Eq for Version
impl StructuralPartialEq for Version
Auto Trait Implementations§
impl Freeze for Version
impl RefUnwindSafe for Version
impl Send for Version
impl Sync for Version
impl Unpin for Version
impl UnsafeUnpin for Version
impl UnwindSafe for Version
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