pub enum MetadataHash {
None,
IPFS,
Keccak256,
}
Expand description
The metadata hash type.
Variants§
None
Do not include bytecode hash.
IPFS
Include the ipfs
hash.
Keccak256
Include the `keccak256`` hash.
Trait Implementations§
Source§impl Clone for MetadataHash
impl Clone for MetadataHash
Source§fn clone(&self) -> MetadataHash
fn clone(&self) -> MetadataHash
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 MetadataHash
impl Debug for MetadataHash
Source§impl<'de> Deserialize<'de> for MetadataHash
impl<'de> Deserialize<'de> for MetadataHash
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 MetadataHash
impl Display for MetadataHash
Source§impl FromStr for MetadataHash
impl FromStr for MetadataHash
Source§impl Hash for MetadataHash
impl Hash for MetadataHash
Source§impl PartialEq for MetadataHash
impl PartialEq for MetadataHash
Source§impl Serialize for MetadataHash
impl Serialize for MetadataHash
impl Copy for MetadataHash
impl Eq for MetadataHash
impl StructuralPartialEq for MetadataHash
Auto Trait Implementations§
impl Freeze for MetadataHash
impl RefUnwindSafe for MetadataHash
impl Send for MetadataHash
impl Sync for MetadataHash
impl Unpin for MetadataHash
impl UnwindSafe for MetadataHash
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