pub struct Ir {
pub version: String,
pub backend: String,
pub hash: Option<String>,
pub types: BTreeMap<String, TypeDef>,
pub methods: BTreeMap<String, MethodDef>,
pub plugins: BTreeMap<String, Vec<String>>,
pub plugin_hashes: Option<BTreeMap<String, PluginHashInfo>>,
pub plugin_requests: Option<BTreeMap<String, Value>>,
pub plugin_roles: Option<BTreeMap<String, BTreeMap<String, Vec<String>>>>,
pub refusals: Vec<Refusal>,
}Expand description
The IR of a service, or of part of it: its types once each, its methods referring to them.
Fields§
§version: String§backend: String§hash: Option<String>§types: BTreeMap<String, TypeDef>§methods: BTreeMap<String, MethodDef>§plugins: BTreeMap<String, Vec<String>>§plugin_hashes: Option<BTreeMap<String, PluginHashInfo>>§plugin_requests: Option<BTreeMap<String, Value>>§plugin_roles: Option<BTreeMap<String, BTreeMap<String, Vec<String>>>>§refusals: Vec<Refusal>Implementations§
Trait Implementations§
impl StructuralPartialEq for Ir
Auto Trait Implementations§
impl Forget for Ir
impl Freeze for Ir
impl RefUnwindSafe for Ir
impl Send for Ir
impl Sync for Ir
impl Unpin for Ir
impl UnsafeUnpin for Ir
impl UnwindSafe for Ir
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more