pub enum DependencyRef {
Id(i64),
Index {
index: usize,
},
}Expand description
A dependency reference - either by ID or by index within a bulk creation batch.
Variants§
Trait Implementations§
Source§impl Clone for DependencyRef
impl Clone for DependencyRef
Source§fn clone(&self) -> DependencyRef
fn clone(&self) -> DependencyRef
Returns a duplicate of the value. Read more
1.0.0 · 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 DependencyRef
impl Debug for DependencyRef
Source§impl<'de> Deserialize<'de> for DependencyRef
impl<'de> Deserialize<'de> for DependencyRef
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
Auto Trait Implementations§
impl Freeze for DependencyRef
impl RefUnwindSafe for DependencyRef
impl Send for DependencyRef
impl Sync for DependencyRef
impl Unpin for DependencyRef
impl UnwindSafe for DependencyRef
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