pub fn check_by_value(entries: &[Entry], name: &str, value: &Data) -> bool {
        for entry in entries {
            if entry.name == name && &entry.value == value {
                return true;
            }
        }
        false
    }
/// Return true if there is any entry with the given name
Return true if there is any entry with the given name
Return true if there is any entry with the given name
pub fn check_by_value(entries: &[Entry], name: &str, value: &Data) -> bool {
        for entry in entries {
            if entry.name == name && &entry.value == value {
                return true;
            }
        }
        false
    }
pub fn check_by_value ( entries : & [ Entry ] , name : & str , value : & Data ) -> bool { for entry in entries { if entry . name == name && & entry . value == value { return true ; } } false }
Return true if there is any entry with the given name
Return true if there is any entry with the given name
entries
&[Entry]
name
&str
value
&Data
entries
&[Entry]
name
&str
value
&Data