pub fn new(name: impl Into<String>, version: Version, check_sum: impl Into<String>) -> Self {
        let name = name.into();
        let vers = version;
        let deps = Vec::new();
        let cksum = check_sum.into();
        let features = HashMap::new();
        let yanked = false;
        let links = None;

        Self {
            name,
            vers,
            deps,
            cksum,
            features,
            yanked,
            links,
        }
    }
/// Create a new metadata object.
///
/// The method parameters are all required, optional parameters can be set
/// using the builder API.
Create a new metadata object.
The method parameters are all required, optional parameters can be set
using the builder API.
Create a new metadata object . The method parameters are all required optional parameters can be set using the builder API .
pub fn new(name: impl Into<String>, version: Version, check_sum: impl Into<String>) -> Self {
        let name = name.into();
        let vers = version;
        let deps = Vec::new();
        let cksum = check_sum.into();
        let features = HashMap::new();
        let yanked = false;
        let links = None;
        Self {
            name,
            vers,
            deps,
            cksum,
            features,
            yanked,
            links,
        }
    }
pub fn new ( name : impl Into < String > , version : Version , check_sum : impl Into < String > ) -> Self { let name = name . into ( ) ; let vers = version ; let deps = Vec :: new ( ) ; let cksum = check_sum . into ( ) ; let features = HashMap :: new ( ) ; let yanked = false ; let links = None ; Self { name , vers , deps , cksum , features , yanked , links , } }
Create a new metadata object.
Create a new metadata object .
name
impl Into<String>
version
Version
check_sum
impl Into<String>