generated/stellar/trust_line_entry.rb in stellar-base-0.0.18 vs generated/stellar/trust_line_entry.rb in stellar-base-0.0.19
- old
+ new
@@ -1,8 +1,8 @@
-# Automatically generated on 2015-05-13T15:00:04-07:00
+# This code was automatically generated using xdrgen
# DO NOT EDIT or your changes may be overwritten
-
+
require 'xdr'
# === xdr source ============================================================
#
# struct TrustLineEntry
@@ -12,17 +12,30 @@
# int64 balance; // how much of this currency the user has.
# // Currency defines the unit for this;
#
# int64 limit; // balance cannot be above this
# uint32 flags; // see TrustLineFlags
+#
+# // reserved for future use
+# union switch (int v)
+# {
+# case 0:
+# void;
+# }
+# ext;
# };
#
# ===========================================================================
module Stellar
class TrustLineEntry < XDR::Struct
+ include XDR::Namespace
+
+ autoload :Ext
+
attribute :account_id, AccountID
attribute :currency, Currency
attribute :balance, Int64
attribute :limit, Int64
attribute :flags, Uint32
+ attribute :ext, Ext
end
end