Struct chik_protocol::RespondTransaction
source · pub struct RespondTransaction {
pub transaction: SpendBundle,
}Fields§
§transaction: SpendBundleImplementations§
source§impl RespondTransaction
impl RespondTransaction
pub fn new(transaction: SpendBundle) -> RespondTransaction
Trait Implementations§
source§impl Clone for RespondTransaction
impl Clone for RespondTransaction
source§fn clone(&self) -> RespondTransaction
fn clone(&self) -> RespondTransaction
Returns a copy 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 moresource§impl Debug for RespondTransaction
impl Debug for RespondTransaction
source§impl Hash for RespondTransaction
impl Hash for RespondTransaction
source§impl PartialEq for RespondTransaction
impl PartialEq for RespondTransaction
source§fn eq(&self, other: &RespondTransaction) -> bool
fn eq(&self, other: &RespondTransaction) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Streamable for RespondTransaction
impl Streamable for RespondTransaction
fn update_digest(&self, digest: &mut Sha256)
fn stream(&self, out: &mut Vec<u8>) -> Result<()>
fn parse<const TRUSTED: bool>(input: &mut Cursor<&[u8]>) -> Result<Self>
fn to_bytes(&self) -> Result<Vec<u8>, Error>
fn from_bytes(bytes: &[u8]) -> Result<Self, Error>where
Self: Sized,
fn from_bytes_unchecked(bytes: &[u8]) -> Result<Self, Error>where
Self: Sized,
fn hash(&self) -> [u8; 32]
impl Eq for RespondTransaction
impl StructuralPartialEq for RespondTransaction
Auto Trait Implementations§
impl Freeze for RespondTransaction
impl RefUnwindSafe for RespondTransaction
impl Send for RespondTransaction
impl Sync for RespondTransaction
impl Unpin for RespondTransaction
impl UnwindSafe for RespondTransaction
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