pub struct UdtScript {
pub code_hash: H256,
pub hash_type: ScriptHashType,
pub args: String,
}Expand description
UDT script configuration.
Fields§
§code_hash: H256Code hash of the UDT script
hash_type: ScriptHashTypeHash type of the UDT script
args: StringArguments for the UDT script
Trait Implementations§
Source§impl<'de> Deserialize<'de> for UdtScript
impl<'de> Deserialize<'de> for UdtScript
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
impl Eq for UdtScript
impl StructuralPartialEq for UdtScript
Auto Trait Implementations§
impl Freeze for UdtScript
impl RefUnwindSafe for UdtScript
impl Send for UdtScript
impl Sync for UdtScript
impl Unpin for UdtScript
impl UnsafeUnpin for UdtScript
impl UnwindSafe for UdtScript
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