Struct bee_message::payload::transaction::RegularEssenceBuilder [−][src]
pub struct RegularEssenceBuilder { /* fields omitted */ }
Expand description
A builder to build a RegularEssence
.
Implementations
impl RegularEssenceBuilder
[src]
impl RegularEssenceBuilder
[src]pub fn with_inputs(self, inputs: Vec<Input>) -> Self
[src]
pub fn with_inputs(self, inputs: Vec<Input>) -> Self
[src]Adds inputs to a RegularEssenceBuilder
pub fn with_outputs(self, outputs: Vec<Output>) -> Self
[src]
pub fn with_outputs(self, outputs: Vec<Output>) -> Self
[src]Add outputs to a RegularEssenceBuilder
.
pub fn add_output(self, output: Output) -> Self
[src]
pub fn add_output(self, output: Output) -> Self
[src]Add an output to a RegularEssenceBuilder
.
pub fn with_payload(self, payload: Payload) -> Self
[src]
pub fn with_payload(self, payload: Payload) -> Self
[src]Add a payload to a RegularEssenceBuilder
.
pub fn finish(self) -> Result<RegularEssence, Error>
[src]
pub fn finish(self) -> Result<RegularEssence, Error>
[src]Finishes a RegularEssenceBuilder
into a RegularEssence
.
Trait Implementations
impl Debug for RegularEssenceBuilder
[src]
impl Debug for RegularEssenceBuilder
[src]impl Default for RegularEssenceBuilder
[src]
impl Default for RegularEssenceBuilder
[src]fn default() -> RegularEssenceBuilder
[src]
fn default() -> RegularEssenceBuilder
[src]Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for RegularEssenceBuilder
impl Send for RegularEssenceBuilder
impl Sync for RegularEssenceBuilder
impl Unpin for RegularEssenceBuilder
impl UnwindSafe for RegularEssenceBuilder
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self