pub struct NamedMetadataPatch {
pub id: String,
pub effective_mode: PatchMode,
pub patch: MetadataPatch,
}Expand description
A MetadataPatch identified by its owning addon or layer ID and effective mode.
Fields§
§id: String§effective_mode: PatchMode§patch: MetadataPatchTrait Implementations§
Source§impl Clone for NamedMetadataPatch
impl Clone for NamedMetadataPatch
Source§fn clone(&self) -> NamedMetadataPatch
fn clone(&self) -> NamedMetadataPatch
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 NamedMetadataPatch
impl Debug for NamedMetadataPatch
Source§impl<'de> Deserialize<'de> for NamedMetadataPatch
impl<'de> Deserialize<'de> for NamedMetadataPatch
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<NamedMetadataPatch, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<NamedMetadataPatch, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for NamedMetadataPatch
impl Serialize for NamedMetadataPatch
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
Auto Trait Implementations§
impl Forget for NamedMetadataPatch
impl Freeze for NamedMetadataPatchwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
PhantomData<PistonMetaLibraries>: Freeze,
PhantomData<PistonMetaGenericArgument>: Freeze,
impl Move for NamedMetadataPatch
impl RefUnwindSafe for NamedMetadataPatch
impl Send for NamedMetadataPatch
impl Sync for NamedMetadataPatch
impl Unpin for NamedMetadataPatch
impl UnsafeUnpin for NamedMetadataPatchwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<PistonMetaLibraries>: UnsafeUnpin,
PhantomData<PistonMetaGenericArgument>: UnsafeUnpin,
impl UnwindSafe for NamedMetadataPatchwhere
RawVecInner: UnwindSafe,
HashMap<String, PistonMetaLibrariesDownloadsArtifact>: UnwindSafe,
BTreeMap<String, Value>: UnwindSafe,
HashMap<String, String>: UnwindSafe,
HashMap<String, bool>: UnwindSafe,
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