pub struct ScriptBuilder { /* private fields */ }
Implementations§
Source§impl ScriptBuilder
impl ScriptBuilder
pub const FIELD_COUNT: usize = 3usize
pub fn code_hash(self, v: Byte32) -> ScriptBuilder
pub fn hash_type(self, v: Byte) -> ScriptBuilder
pub fn args(self, v: Bytes) -> ScriptBuilder
Trait Implementations§
Source§impl Builder for ScriptBuilder
impl Builder for ScriptBuilder
Source§impl Debug for ScriptBuilder
impl Debug for ScriptBuilder
Source§impl Default for ScriptBuilder
impl Default for ScriptBuilder
Source§fn default() -> ScriptBuilder
fn default() -> ScriptBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for ScriptBuilder
impl RefUnwindSafe for ScriptBuilder
impl Send for ScriptBuilder
impl Sync for ScriptBuilder
impl Unpin for ScriptBuilder
impl UnwindSafe for ScriptBuilder
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