[−][src]Struct iota_bundle_preview::TransactionBuilder
Methods
impl TransactionBuilder
[src]
pub fn new() -> Self
[src]
pub fn essence(&self) -> TritBuf
[src]
pub fn with_payload(self, payload: Payload) -> Self
[src]
pub fn with_address(self, address: Address) -> Self
[src]
pub fn with_value(self, value: Value) -> Self
[src]
pub fn with_obsolete_tag(self, obsolete_tag: Tag) -> Self
[src]
pub fn with_timestamp(self, timestamp: Timestamp) -> Self
[src]
pub fn with_index(self, index: Index) -> Self
[src]
pub fn with_last_index(self, last_index: Index) -> Self
[src]
pub fn with_tag(self, tag: Tag) -> Self
[src]
pub fn with_attachment_ts(self, attachment_ts: Timestamp) -> Self
[src]
pub fn with_bundle(self, bundle: Hash) -> Self
[src]
pub fn with_trunk(self, trunk: Hash) -> Self
[src]
pub fn with_branch(self, branch: Hash) -> Self
[src]
pub fn with_attachment_lbts(self, attachment_lbts: Timestamp) -> Self
[src]
pub fn with_attachment_ubts(self, attachment_ubts: Timestamp) -> Self
[src]
pub fn with_nonce(self, nonce: Nonce) -> Self
[src]
pub fn build(self) -> Result<Transaction, TransactionError>
[src]
Trait Implementations
impl Default for TransactionBuilder
[src]
fn default() -> TransactionBuilder
[src]
Auto Trait Implementations
impl RefUnwindSafe for TransactionBuilder
impl Send for TransactionBuilder
impl Sync for TransactionBuilder
impl Unpin for TransactionBuilder
impl UnwindSafe for TransactionBuilder
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,