pub struct McSignActionRes {
pub txid: Option<String>,
pub tx: Option<Vec<u8>>,
pub send_with_results: Option<Value>,
}Expand description
signAction response, in the SAME wire shape as McCreateActionRes:
tx is AtomicBEEF as a plain number array. The toolbox’s own
SignActionResult serde hex-encodes byte fields, which no BRC-100 client
expects (MetaNet and the TS toolbox both send number arrays); passing that
struct straight to Json(...) handed callers a hex STRING they then read
as bytes and failed to parse — after the transaction had already broadcast.
Fields§
§txid: Option<String>§tx: Option<Vec<u8>>§send_with_results: Option<Value>Trait Implementations§
Auto Trait Implementations§
impl Freeze for McSignActionRes
impl RefUnwindSafe for McSignActionRes
impl Send for McSignActionRes
impl Sync for McSignActionRes
impl Unpin for McSignActionRes
impl UnsafeUnpin for McSignActionRes
impl UnwindSafe for McSignActionRes
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more