pub struct ScriptHistory {
pub script_hash: String,
pub deployment_msg: Option<String>,
}
Fields§
§script_hash: String
§deployment_msg: Option<String>
Implementations§
Source§impl ScriptHistory
impl ScriptHistory
pub fn new(script_hash: String) -> ScriptHistory
Trait Implementations§
Source§impl Clone for ScriptHistory
impl Clone for ScriptHistory
Source§fn clone(&self) -> ScriptHistory
fn clone(&self) -> ScriptHistory
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 ScriptHistory
impl Debug for ScriptHistory
Source§impl Default for ScriptHistory
impl Default for ScriptHistory
Source§fn default() -> ScriptHistory
fn default() -> ScriptHistory
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ScriptHistory
impl<'de> Deserialize<'de> for ScriptHistory
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 PartialEq for ScriptHistory
impl PartialEq for ScriptHistory
Source§impl Serialize for ScriptHistory
impl Serialize for ScriptHistory
impl StructuralPartialEq for ScriptHistory
Auto Trait Implementations§
impl Freeze for ScriptHistory
impl RefUnwindSafe for ScriptHistory
impl Send for ScriptHistory
impl Sync for ScriptHistory
impl Unpin for ScriptHistory
impl UnwindSafe for ScriptHistory
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