Skip to main content

ServiceIr

Type Alias ServiceIr 

Source
pub type ServiceIr = ContractIr;

Aliased Type§

pub struct ServiceIr {
    pub name: String,
    pub gear: String,
    pub version: String,
    pub methods: Vec<MethodIr>,
}

Fields§

§name: String

Contract name, usually the SDK trait name.

§gear: String

Gear that provides this contract.

§version: String

API version.

§methods: Vec<MethodIr>

Methods exposed by this contract.