pub struct Prepare { /* private fields */ }
Implementations§
Source§impl Prepare
impl Prepare
pub fn amount(&self) -> u64
pub fn set_amount(&mut self, amount: u64)
pub fn expires_at(&self) -> SystemTime
pub fn set_expires_at(&mut self, expires_at: SystemTime)
Sourcepub fn execution_condition(&self) -> &[u8] ⓘ
pub fn execution_condition(&self) -> &[u8] ⓘ
The returned value always has a length of 32.
pub fn destination(&self) -> Address
pub fn data(&self) -> &[u8] ⓘ
pub fn into_data(self) -> BytesMut
Trait Implementations§
impl StructuralPartialEq for Prepare
Auto Trait Implementations§
impl !Freeze for Prepare
impl RefUnwindSafe for Prepare
impl Send for Prepare
impl Sync for Prepare
impl Unpin for Prepare
impl UnwindSafe for Prepare
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> ToHex for T
impl<T> ToHex for T
Source§fn encode_hex<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex<U>(&self) -> Uwhere
U: FromIterator<char>,
Encode the hex strict representing
self
into the result. Lower case
letters are used (e.g. f9b4ca
)Source§fn encode_hex_upper<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex_upper<U>(&self) -> Uwhere
U: FromIterator<char>,
Encode the hex strict representing
self
into the result. Upper case
letters are used (e.g. F9B4CA
)