Struct ckb_types::packed::ScriptBuilder
source · 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 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