pub fn fuzzy_matches_path(&self, path: &MetadataPath) -> bool {
        match *self {
            Role::Link if &path.0 == "link" => true,
            //Role::Layout if &path.0 == "layout" => true,
            _ => false,
        }
    }
/// Check if this role could be associated with a given path.
///
/// ```
/// use in_toto::metadata::{MetadataPath, Role};
///
/// ```
Check if this role could be associated with a given path.


Check if this role could be associated with a given path .
pub fn fuzzy_matches_path(&self, path: &MetadataPath) -> bool {
        match *self {
            Role::Link if &path.0 == "link" => true,
            //Role::Layout if &path.0 == "layout" => true,
            _ => false,
        }
    }
pub fn fuzzy_matches_path ( & self , path : & MetadataPath ) -> bool { match * self { Role :: Link if & path . 0 == " " => true , //Role::Layout if &path.0 == "layout" => true, _ => false , } }
Check if this role could be associated with a given path.
Check if this role could be associated with a given path .
&self
path
&MetadataPath
&self
path
&MetadataPath