pub struct HarvestResult {
pub node_id: String,
pub quantity: u32,
pub item_template: String,
pub item_instance_id: Option<Uuid>,
}Fields§
§node_id: String§quantity: u32Stack quantity granted (not one-node-one-instance).
item_template: String§item_instance_id: Option<Uuid>Optional DB row id when persisted to control plane.
Trait Implementations§
Source§impl Clone for HarvestResult
impl Clone for HarvestResult
Source§fn clone(&self) -> HarvestResult
fn clone(&self) -> HarvestResult
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 HarvestResult
impl Debug for HarvestResult
Source§impl<'de> Deserialize<'de> for HarvestResult
impl<'de> Deserialize<'de> for HarvestResult
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 HarvestResult
impl PartialEq for HarvestResult
Source§fn eq(&self, other: &HarvestResult) -> bool
fn eq(&self, other: &HarvestResult) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for HarvestResult
impl Serialize for HarvestResult
impl StructuralPartialEq for HarvestResult
Auto Trait Implementations§
impl Freeze for HarvestResult
impl RefUnwindSafe for HarvestResult
impl Send for HarvestResult
impl Sync for HarvestResult
impl Unpin for HarvestResult
impl UnsafeUnpin for HarvestResult
impl UnwindSafe for HarvestResult
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