pub struct NodeOut {
pub id: i32,
pub created_at: DateTime<FixedOffset>,
pub type: String,
pub group_id: i32,
pub status: String,
pub preset_id: i32,
pub cpu: i32,
pub ram: i32,
pub disk: i32,
pub network: i32,
pub node_ip: String,
}Fields§
§id: i32ID ноды
created_at: DateTime<FixedOffset>Дата и время создания ноды в формате ISO8601
type: StringТип ноды
group_id: i32ID группы нод
status: StringСтатус
preset_id: i32ID тарифа ноды
cpu: i32Количество ядер
ram: i32Количество памяти
disk: i32Количество пространства
network: i32Пропускная способность сети
node_ip: StringIp-адрес ноды
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for NodeOut
impl<'de> Deserialize<'de> for NodeOut
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
impl StructuralPartialEq for NodeOut
Auto Trait Implementations§
impl Freeze for NodeOut
impl RefUnwindSafe for NodeOut
impl Send for NodeOut
impl Sync for NodeOut
impl Unpin for NodeOut
impl UnsafeUnpin for NodeOut
impl UnwindSafe for NodeOut
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