Class MoveOption<T>
- Namespace
- Aptos
- Assembly
- Aptos.dll
public class MoveOption<T> : TransactionArgument, IScriptFunctionArgument, IEntryFunctionArgument where T : class
Type Parameters
T
- Inheritance
-
MoveOption<T>
- Implements
- Inherited Members
Constructors
MoveOption(T?)
public MoveOption(T? value)
Parameters
value
T
Fields
Value
public readonly T? Value
Field Value
- T
Methods
Deserialize(Deserializer, Func<Deserializer, T>)
public static MoveOption<T> Deserialize(Deserializer d, Func<Deserializer, T> deserializeFunc)
Parameters
d
DeserializerdeserializeFunc
Func<Deserializer, T>
Returns
- MoveOption<T>
Serialize(Serializer)
public override void Serialize(Serializer s)
Parameters
SerializeForScriptFunction(Serializer)
public override void SerializeForScriptFunction(Serializer s)