#[repr(u8)]pub enum MetadataModificationType {
Add = 0,
Remove = 1,
NotSupported = 2,
}👎Deprecated since 0.1.2: use
metadata_entry insteadExpand description
The type of the metadata modification:
- 0 - Add metadata.
- 1 - Remove metadata.
Variants§
Add = 0
👎Deprecated since 0.1.2: use
metadata_entry insteadRemove = 1
👎Deprecated since 0.1.2: use
metadata_entry insteadNotSupported = 2
👎Deprecated since 0.1.2: use
metadata_entry insteadImplementations§
Trait Implementations§
Source§impl Clone for MetadataModificationType
impl Clone for MetadataModificationType
Source§fn clone(&self) -> MetadataModificationType
fn clone(&self) -> MetadataModificationType
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 MetadataModificationType
impl Debug for MetadataModificationType
Source§impl<'de> Deserialize<'de> for MetadataModificationType
impl<'de> Deserialize<'de> for MetadataModificationType
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
Source§impl Display for MetadataModificationType
impl Display for MetadataModificationType
Source§impl From<MetadataModificationType> for u8
impl From<MetadataModificationType> for u8
Source§fn from(enum_value: MetadataModificationType) -> Self
fn from(enum_value: MetadataModificationType) -> Self
Converts to this type from the input type.
Source§impl From<u8> for MetadataModificationType
impl From<u8> for MetadataModificationType
impl Copy for MetadataModificationType
impl StructuralPartialEq for MetadataModificationType
Auto Trait Implementations§
impl Freeze for MetadataModificationType
impl RefUnwindSafe for MetadataModificationType
impl Send for MetadataModificationType
impl Sync for MetadataModificationType
impl Unpin for MetadataModificationType
impl UnwindSafe for MetadataModificationType
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