pub type ServiceEndpoint = RemoteServiceEndpoint;Expand description
Wire / API alias for a remote service endpoint (WEFT-115).
Historical audit name was ServiceEndpoint; production code uses
RemoteServiceEndpoint. Both names refer to the same type.
Aliased Type§
pub struct ServiceEndpoint {
pub name: String,
pub node_id: String,
pub pid: u64,
pub methods: Vec<String>,
pub version: String,
pub contract_hash: Option<String>,
pub metadata: HashMap<String, String>,
}Fields§
§name: StringService name.
node_id: StringNode hosting the service.
pid: u64PID of the process hosting this service.
methods: Vec<String>Available methods.
version: StringService version.
contract_hash: Option<String>Service contract hash (if chain-anchored).
metadata: HashMap<String, String>Additional metadata.