Struct flow_rust_sdk::Argument [−][src]
pub struct Argument<T> { /* fields omitted */ }Expand description
This is our argument builder.
Implementations
Argument builder assuming a vec
You will use this for most argument types. Before implementing new types, be sure to read https://docs.onflow.org/cadence/json-cadence-spec
Take a positive f64 and turn it into an argument. Fixed point numbers are encoded as strings, so this will result in additional memory allocation when used.
Take a f64 and turn it into an argument. Fixed point numbers are encoded as strings, so this will result in additional memory allocation when used.
Take a u64 and turn it into an argument. Integers are encoded as strings, so this will result in additional memory allocation when used.
Take a i64 and turn it into an argument. Integers are encoded as strings, so this will result in additional memory allocation when used.
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for Argument<T> where
T: RefUnwindSafe,
impl<T> UnwindSafe for Argument<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more