pub struct PreparedWrite { /* private fields */ }Expand description
Unsigned owner-write transaction plus the SQL and OSW1 intent it commits to.
Implementations§
Source§impl PreparedWrite
impl PreparedWrite
Sourcepub fn timestamp(&self) -> f64
pub fn timestamp(&self) -> f64
Return the Octra transaction timestamp captured during preparation.
Sourcepub fn public_key(&self) -> &str
pub fn public_key(&self) -> &str
Return the signing public key encoded for Octra RPC.
Sourcepub fn ou(&self) -> &str
pub fn ou(&self) -> &str
Return the Octra unit budget that will be signed into the transaction.
Sourcepub fn owner_write(&self) -> &PreparedOwnerWrite
pub fn owner_write(&self) -> &PreparedOwnerWrite
Return the prepared OSW1 owner-write metadata.
Sourcepub fn safety(&self) -> OperationSafety
pub fn safety(&self) -> OperationSafety
Return the operation’s declarative safety metadata.
Trait Implementations§
Source§impl Clone for PreparedWrite
impl Clone for PreparedWrite
Source§fn clone(&self) -> PreparedWrite
fn clone(&self) -> PreparedWrite
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PreparedWrite
impl Debug for PreparedWrite
Source§impl PartialEq for PreparedWrite
impl PartialEq for PreparedWrite
impl StructuralPartialEq for PreparedWrite
Auto Trait Implementations§
impl Freeze for PreparedWrite
impl RefUnwindSafe for PreparedWrite
impl Send for PreparedWrite
impl Sync for PreparedWrite
impl Unpin for PreparedWrite
impl UnsafeUnpin for PreparedWrite
impl UnwindSafe for PreparedWrite
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