Struct waves_rust::model::script::ScriptInfo
source · [−]pub struct ScriptInfo { /* private fields */ }Implementations
sourceimpl 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
sourceimpl Clone for ScriptInfo
impl Clone for ScriptInfo
sourcefn clone(&self) -> ScriptInfo
fn clone(&self) -> ScriptInfo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for ScriptInfo
impl Debug for ScriptInfo
sourceimpl PartialEq<ScriptInfo> for ScriptInfo
impl PartialEq<ScriptInfo> for ScriptInfo
sourcefn eq(&self, other: &ScriptInfo) -> bool
fn eq(&self, other: &ScriptInfo) -> bool
sourceimpl 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<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,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
sourcefn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request