pub struct McCreateActionInput {
pub outpoint: String,
pub unlocking_script: Option<String>,
pub unlocking_script_length: Option<u32>,
pub input_description: Option<String>,
pub sequence_number: Option<u32>,
}Expand description
A single caller-provided input for createAction.
Fields§
§outpoint: String“txid.vout”
unlocking_script: Option<String>Fully-provided unlocking script (hex). Use this OR unlocking_script_length.
unlocking_script_length: Option<u32>Length of a to-be-signed unlocking script (deferred-signing flow).
input_description: Option<String>§sequence_number: Option<u32>nSequence for this input (e.g. 0xfffffffe to make a covenant timeLock non-final).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for McCreateActionInput
impl<'de> Deserialize<'de> for McCreateActionInput
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for McCreateActionInput
impl RefUnwindSafe for McCreateActionInput
impl Send for McCreateActionInput
impl Sync for McCreateActionInput
impl Unpin for McCreateActionInput
impl UnsafeUnpin for McCreateActionInput
impl UnwindSafe for McCreateActionInput
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
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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