Struct air_parser::ast::Triplet
source · pub struct Triplet<'i> {
pub peer_id: ResolvableToPeerIdVariable<'i>,
pub service_id: ResolvableToStringVariable<'i>,
pub function_name: ResolvableToStringVariable<'i>,
}
Expand description
Triplet represents a location of the executable code in the network.
It is build from PeerPart
and FunctionPart
of a Call
instruction.
Fields§
§peer_id: ResolvableToPeerIdVariable<'i>
§service_id: ResolvableToStringVariable<'i>
§function_name: ResolvableToStringVariable<'i>
Trait Implementations§
source§impl<'de: 'i, 'i> Deserialize<'de> for Triplet<'i>
impl<'de: 'i, 'i> Deserialize<'de> for Triplet<'i>
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more