pub struct SupplyChain {
pub complete: i64,
pub nodes: Vec<SupplyChainNode>,
pub ver: String,
pub ext: Option<Value>,
}Expand description
Represents the chain of entities involved in the direct flow of payment for inventory.
Fields§
§complete: i64Flag indicating if chain contains all nodes back to owner (0=no, 1=yes).
nodes: Vec<SupplyChainNode>Array of SupplyChainNode objects in order.
ver: StringVersion of the supply chain specification.
ext: Option<Value>Placeholder for exchange-specific extensions.
Trait Implementations§
Source§impl Clone for SupplyChain
impl Clone for SupplyChain
Source§fn clone(&self) -> SupplyChain
fn clone(&self) -> SupplyChain
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 SupplyChain
impl Debug for SupplyChain
Source§impl<'de> Deserialize<'de> for SupplyChain
impl<'de> Deserialize<'de> for SupplyChain
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 SupplyChain
impl PartialEq for SupplyChain
Source§fn eq(&self, other: &SupplyChain) -> bool
fn eq(&self, other: &SupplyChain) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SupplyChain
impl Serialize for SupplyChain
impl StructuralPartialEq for SupplyChain
Auto Trait Implementations§
impl Freeze for SupplyChain
impl RefUnwindSafe for SupplyChain
impl Send for SupplyChain
impl Sync for SupplyChain
impl Unpin for SupplyChain
impl UnsafeUnpin for SupplyChain
impl UnwindSafe for SupplyChain
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