Class: MoveViewArg
An argument for a Move View Function call.
This enum represents the different types of values that can be passed as arguments to a Move View Function.
Extends
UniffiAbstractObject
Implements
Properties
[destructorGuardSymbol]
readonly [destructorGuardSymbol]: UniffiGcObject;
[pointerLiteralSymbol]
readonly [pointerLiteralSymbol]: bigint;
[uniffiTypeNameSymbol]
readonly [uniffiTypeNameSymbol]: "MoveViewArg" = "MoveViewArg";
Methods
uniffiDestroy()
uniffiDestroy(): void;
Explicitly tell Rust to destroy the native peer that backs this object.
Once this method has been called, any following method calls will throw an error.
Can be called more than once.
Returns
void
Overrides
UniffiAbstractObject.uniffiDestroy
uniffiUse()
uniffiUse<T>(block): T;
A convenience method to use this object, then destroy it after its use.
Type Parameters
T
T
Parameters
block
(obj) => T
Returns
T
Inherited from
UniffiAbstractObject.uniffiUse
address()
static address(value): MoveViewArgLike;
Parameters
value
Returns
bool()
static bool(value): MoveViewArgLike;
Parameters
value
boolean
Returns
instanceOf()
static instanceOf(obj_): obj_ is MoveViewArg;
Parameters
obj_
any
Returns
obj_ is MoveViewArg
json()
static json(value): MoveViewArgLike;
Parameters
value
string
Returns
null_()
static null_(): MoveViewArgLike;
Returns
objectId()
static objectId(value): MoveViewArgLike;
Parameters
value
Returns
option()
static option(value): MoveViewArgLike;
Parameters
value
MoveViewArgLike | undefined
Returns
string()
static string(value): MoveViewArgLike;
Parameters
value
string
Returns
stringVec()
static stringVec(values): MoveViewArgLike;
Parameters
values
string[]
Returns
u128()
static u128(value): MoveViewArgLike;
Parameters
value
string
Returns
u16()
static u16(value): MoveViewArgLike;
Parameters
value
number
Returns
u32()
static u32(value): MoveViewArgLike;
Parameters
value
number
Returns
u64()
static u64(value): MoveViewArgLike;
Parameters
value
bigint
Returns
u8()
static u8(value): MoveViewArgLike;
Parameters
value
number
Returns
u8Vec()
static u8Vec(values): MoveViewArgLike;
Parameters
values
ArrayBuffer