func (t *TransactionResultPair) Scan(src interface{}) error {
	return safeBase64Scan(src, t)
}
Scan reads from src into an TransactionResultPair struct
package xdr
import (
	"errors"
	"fmt"
	"github.com/lib/pq"
)
func (t *AccountFlags) Scan(src interface{}) error {
	val, ok := src.(int64)
	if !ok {
		return errors.New("Invalid value for xdr.AccountFlags")
	}
	*t = AccountFlags(val)
	return nil
}
func (t *AssetType) Scan(src interface{}) error {
	val, ok := src.(int64)
	if !ok {
		return errors.New("Invalid value for xdr.AssetType")
	}
	*t = AssetType(val)
	return nil
}
func (t *Int64) Scan(src interface{}) error {
	val, ok := src.(int64)
	if !ok {
		return errors.New("Invalid value for xdr.Int64")
	}
	*t = Int64(val)
	return nil
}
func (t *Price) Scan(src interface{}) error {
	arr := pq.Int64Array{}
	err := arr.Scan(src)
	if err != nil {
		return err
	}
	if len(arr) != 2 {
		return errors.New("price array should have exactly 2 elements")
	}
	*t = Price{Int32(arr[0]), Int32(arr[1])}
	return nil
}
func (t *LedgerEntryChanges) Scan(src interface{}) error {
	return safeBase64Scan(src, t)
}
func (t *LedgerHeader) Scan(src interface{}) error {
	return safeBase64Scan(src, t)
}
func (t *ScpEnvelope) Scan(src interface{}) error {
	return safeBase64Scan(src, t)
}
func (t *ScpQuorumSet) Scan(src interface{}) error {
	return safeBase64Scan(src, t)
}
func (t *Thresholds) Scan(src interface{}) error {
	return safeBase64Scan(src, t)
}
func (t *TransactionEnvelope) Scan(src interface{}) error {
	return safeBase64Scan(src, t)
}
func (t *TransactionMeta) Scan(src interface{}) error {
	return safeBase64Scan(src, t)
}
func (t *TransactionResult) Scan(src interface{}) error {
	return safeBase64Scan(src, t)
}