pub struct TomlLockfilePatch {
pub unused: Vec<TomlLockfileDependency>,
}
Expand description
Serialization of unused patches
Cargo stores patches that were declared but not used during resolution.
Fields§
§unused: Vec<TomlLockfileDependency>
The list of unused dependency patches.
Implementations§
Trait Implementations§
Source§impl Debug for TomlLockfilePatch
impl Debug for TomlLockfilePatch
Source§impl Default for TomlLockfilePatch
impl Default for TomlLockfilePatch
Source§fn default() -> TomlLockfilePatch
fn default() -> TomlLockfilePatch
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TomlLockfilePatch
impl<'de> Deserialize<'de> for TomlLockfilePatch
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 TomlLockfilePatch
impl RefUnwindSafe for TomlLockfilePatch
impl Send for TomlLockfilePatch
impl Sync for TomlLockfilePatch
impl Unpin for TomlLockfilePatch
impl UnwindSafe for TomlLockfilePatch
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
Source§impl<T> Serialize for T
impl<T> Serialize for T
fn erased_serialize(&self, serializer: &mut dyn Serializer) -> Result<(), Error>
fn do_erased_serialize( &self, serializer: &mut dyn Serializer, ) -> Result<(), ErrorImpl>
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<T> ErasedDestructor for Twhere
T: 'static,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 24 bytes