oc2_hlapi_v2 0.2.0

A client for the new version of OpenComputers II's HLAPI
Documentation
1
2
3
4
5
6
7
8
9
10
use serde::{Deserialize, Serialize};

/// Information about the contents of a fluid tank
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq)]
pub struct TankContentInfo {
    /// The fluid ID
    pub id: String,
    /// The amount of fluid in millibuckets
    pub amount: u32,
}