pub enum ManifestListEntryEnum {
V2(ManifestListEntryV2),
V1(ManifestListEntryV1),
}Expand description
Entry in manifest file.
Variants§
V2(ManifestListEntryV2)
Version 2 of the manifest file
V1(ManifestListEntryV1)
Version 1 of the manifest file
Trait Implementations§
source§impl Clone for ManifestListEntryEnum
impl Clone for ManifestListEntryEnum
source§fn clone(&self) -> ManifestListEntryEnum
fn clone(&self) -> ManifestListEntryEnum
Returns a copy 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 ManifestListEntryEnum
impl Debug for ManifestListEntryEnum
source§impl<'de> Deserialize<'de> for ManifestListEntryEnum
impl<'de> Deserialize<'de> for ManifestListEntryEnum
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<ManifestListEntryEnum, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<ManifestListEntryEnum, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<ManifestListEntry> for ManifestListEntryEnum
impl From<ManifestListEntry> for ManifestListEntryEnum
source§fn from(value: ManifestListEntry) -> ManifestListEntryEnum
fn from(value: ManifestListEntry) -> ManifestListEntryEnum
Converts to this type from the input type.
source§impl PartialEq for ManifestListEntryEnum
impl PartialEq for ManifestListEntryEnum
source§fn eq(&self, other: &ManifestListEntryEnum) -> bool
fn eq(&self, other: &ManifestListEntryEnum) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for ManifestListEntryEnum
impl Serialize for ManifestListEntryEnum
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for ManifestListEntryEnum
impl StructuralPartialEq for ManifestListEntryEnum
Auto Trait Implementations§
impl Freeze for ManifestListEntryEnum
impl RefUnwindSafe for ManifestListEntryEnum
impl Send for ManifestListEntryEnum
impl Sync for ManifestListEntryEnum
impl Unpin for ManifestListEntryEnum
impl UnwindSafe for ManifestListEntryEnum
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.