pub fn new(patched: Vec<VersionReq>, unaffected: Vec<VersionReq>) -> Result<Self, Error> {
        RawVersions {
            patched,
            unaffected,
        }
        .try_into()
    }
/// Creates a new `[versions]` entry.
/// Checks consistency of the passed version requirements.
Creates a new `[versions]` entry.
Checks consistency of the passed version requirements.
Creates a new ` [ versions ] ` entry . Checks consistency of the passed version requirements .
pub fn new(patched: Vec<VersionReq>, unaffected: Vec<VersionReq>) -> Result<Self, Error> {
        RawVersions {
            patched,
            unaffected,
        }
        .try_into()
    }
pub fn new ( patched : Vec < VersionReq > , unaffected : Vec < VersionReq > ) -> Result < Self , Error > { RawVersions { patched , unaffected , } . try_into ( ) }
Creates a new `[versions]` entry.
Creates a new ` [ versions ] ` entry .
patched
Vec<VersionReq>
unaffected
Vec<VersionReq>
patched
Vec<VersionReq>
unaffected
Vec<VersionReq>