Trait ostree_ext::variant_utils::VariantDictExt [−][src]
pub trait VariantDictExt {
fn lookup_str(&self, k: &str) -> Option<String>;
fn lookup_bool(&self, k: &str) -> Option<bool>;
}Expand description
Extension trait for glib::VariantDict.
Required methods
fn lookup_str(&self, k: &str) -> Option<String>
fn lookup_str(&self, k: &str) -> Option<String>
Find (and duplicate) a string-valued key in this dictionary.
fn lookup_bool(&self, k: &str) -> Option<bool>
fn lookup_bool(&self, k: &str) -> Option<bool>
Find a bool-valued key in this dictionary.