pub enum BatchInput {
CrateVersionMap(HashMap<String, String>),
CrateList {
crates: Vec<String>,
},
Operations {
operations: Vec<BatchOperation>,
},
}
Expand description
Batch input format - supports multiple input types
Variants§
CrateVersionMap(HashMap<String, String>)
Map of crate names to specific versions
CrateList
List of crate names (will check latest versions)
Operations
Advanced operations format
Fields
§
operations: Vec<BatchOperation>
Trait Implementations§
Source§impl Clone for BatchInput
impl Clone for BatchInput
Source§fn clone(&self) -> BatchInput
fn clone(&self) -> BatchInput
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 BatchInput
impl Debug for BatchInput
Source§impl<'de> Deserialize<'de> for BatchInput
impl<'de> Deserialize<'de> for BatchInput
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 BatchInput
impl RefUnwindSafe for BatchInput
impl Send for BatchInput
impl Sync for BatchInput
impl Unpin for BatchInput
impl UnwindSafe for BatchInput
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