pub struct NodeGroupOut {
pub id: i32,
pub name: String,
pub created_at: DateTime<FixedOffset>,
pub preset_id: i32,
pub node_count: i32,
}Fields§
§id: i32ID группы
name: StringНазвание группы
created_at: DateTime<FixedOffset>Дата и время создания группы в формате ISO8601
preset_id: i32ID тарифа мастер-ноды
node_count: i32Количество нод в группе
Implementations§
Source§impl NodeGroupOut
impl NodeGroupOut
pub fn new( id: i32, name: String, created_at: DateTime<FixedOffset>, preset_id: i32, node_count: i32, ) -> NodeGroupOut
Trait Implementations§
Source§impl Clone for NodeGroupOut
impl Clone for NodeGroupOut
Source§fn clone(&self) -> NodeGroupOut
fn clone(&self) -> NodeGroupOut
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NodeGroupOut
impl Debug for NodeGroupOut
Source§impl Default for NodeGroupOut
impl Default for NodeGroupOut
Source§fn default() -> NodeGroupOut
fn default() -> NodeGroupOut
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NodeGroupOut
impl<'de> Deserialize<'de> for NodeGroupOut
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
Source§impl PartialEq for NodeGroupOut
impl PartialEq for NodeGroupOut
Source§fn eq(&self, other: &NodeGroupOut) -> bool
fn eq(&self, other: &NodeGroupOut) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for NodeGroupOut
impl Serialize for NodeGroupOut
impl StructuralPartialEq for NodeGroupOut
Auto Trait Implementations§
impl Freeze for NodeGroupOut
impl RefUnwindSafe for NodeGroupOut
impl Send for NodeGroupOut
impl Sync for NodeGroupOut
impl Unpin for NodeGroupOut
impl UnsafeUnpin for NodeGroupOut
impl UnwindSafe for NodeGroupOut
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