pub struct IncreaseNodes {
pub count: i32,
pub labels: Option<Vec<SetLabels>>,
}Fields§
§count: i32Количество нод
labels: Option<Vec<SetLabels>>Лейблы добавляемых нод
Implementations§
Source§impl IncreaseNodes
impl IncreaseNodes
pub fn new(count: i32) -> IncreaseNodes
Trait Implementations§
Source§impl Clone for IncreaseNodes
impl Clone for IncreaseNodes
Source§fn clone(&self) -> IncreaseNodes
fn clone(&self) -> IncreaseNodes
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 IncreaseNodes
impl Debug for IncreaseNodes
Source§impl Default for IncreaseNodes
impl Default for IncreaseNodes
Source§fn default() -> IncreaseNodes
fn default() -> IncreaseNodes
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for IncreaseNodes
impl<'de> Deserialize<'de> for IncreaseNodes
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 IncreaseNodes
impl PartialEq for IncreaseNodes
Source§fn eq(&self, other: &IncreaseNodes) -> bool
fn eq(&self, other: &IncreaseNodes) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for IncreaseNodes
impl Serialize for IncreaseNodes
impl StructuralPartialEq for IncreaseNodes
Auto Trait Implementations§
impl Freeze for IncreaseNodes
impl RefUnwindSafe for IncreaseNodes
impl Send for IncreaseNodes
impl Sync for IncreaseNodes
impl Unpin for IncreaseNodes
impl UnsafeUnpin for IncreaseNodes
impl UnwindSafe for IncreaseNodes
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