Struct waves_rust::model::script::ScriptInfo
source · pub struct ScriptInfo { /* private fields */ }
Implementations§
source§impl ScriptInfo
impl ScriptInfo
pub fn new(
script: Base64String,
complexity: u32,
verifier_complexity: u32,
callable_complexities: HashMap<String, u32>,
extra_fee: u64,
script_text: String
) -> ScriptInfo
pub fn script(&self) -> Base64String
pub fn complexity(&self) -> u32
pub fn verifier_complexity(&self) -> u32
pub fn callable_complexities(&self) -> HashMap<String, u32>
pub fn extra_fee(&self) -> u64
pub fn script_text(&self) -> String
Trait Implementations§
source§impl Clone for ScriptInfo
impl Clone for ScriptInfo
source§fn clone(&self) -> ScriptInfo
fn clone(&self) -> ScriptInfo
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 ScriptInfo
impl Debug for ScriptInfo
source§impl PartialEq<ScriptInfo> for ScriptInfo
impl PartialEq<ScriptInfo> for ScriptInfo
source§fn eq(&self, other: &ScriptInfo) -> bool
fn eq(&self, other: &ScriptInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<&Value> for ScriptInfo
impl TryFrom<&Value> for ScriptInfo
impl Eq for ScriptInfo
impl StructuralEq for ScriptInfo
impl StructuralPartialEq for ScriptInfo
Auto Trait Implementations§
impl RefUnwindSafe for ScriptInfo
impl Send for ScriptInfo
impl Sync for ScriptInfo
impl Unpin for ScriptInfo
impl UnwindSafe for ScriptInfo
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request