pub struct GetWasmBytecodeBuilder { /* private fields */ }Expand description
Builder for GetWasmBytecode.
Implementations§
Source§impl GetWasmBytecodeBuilder
impl GetWasmBytecodeBuilder
Sourcepub fn script_id<VALUE: Into<ScriptId>>(&mut self, value: VALUE) -> &mut Self
pub fn script_id<VALUE: Into<ScriptId>>(&mut self, value: VALUE) -> &mut Self
Id of the Wasm script to get source for.
Sourcepub fn build(&self) -> Result<GetWasmBytecode, GetWasmBytecodeBuilderError>
pub fn build(&self) -> Result<GetWasmBytecode, GetWasmBytecodeBuilderError>
Trait Implementations§
Source§impl Clone for GetWasmBytecodeBuilder
impl Clone for GetWasmBytecodeBuilder
Source§fn clone(&self) -> GetWasmBytecodeBuilder
fn clone(&self) -> GetWasmBytecodeBuilder
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 moreAuto Trait Implementations§
impl Freeze for GetWasmBytecodeBuilder
impl RefUnwindSafe for GetWasmBytecodeBuilder
impl Send for GetWasmBytecodeBuilder
impl Sync for GetWasmBytecodeBuilder
impl Unpin for GetWasmBytecodeBuilder
impl UnsafeUnpin for GetWasmBytecodeBuilder
impl UnwindSafe for GetWasmBytecodeBuilder
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