func (m *common) GetRateLimit() types.RateLimit {
	return m.ratelimit
}
GetRateLimit returns the rate limit when the manifest was pulled from a registry.
This supports the headers used by Docker Hub.
package manifest
import (
	"net/http"
	"strconv"
	"strings"
	digest "github.com/opencontainers/go-digest"
	"github.com/regclient/regclient/regclient/types"
)
type common struct {
	ref       types.Ref
	digest    digest.Digest
	mt        string
	manifSet  bool
	ratelimit types.RateLimit
	rawHeader http.Header
	rawBody   []byte
}
func (m *common) GetDigest() digest.Digest {
	return m.digest
}
func (m *common) GetMediaType() string {
	return m.mt
}