parse_version

Function parse_version 

Source
pub(crate) fn parse_version(version: &str) -> Option<ResourceVersion>
Expand description

Parse a string in the format “major.minor.patch” into a ResourceVersion. The build is set to 0. Returns None if the version string is not in the expected format.