func (t *Type) FromString(s string) bool {
	var g object.ObjectType
	ok := g.FromString(s)
	if ok {
		*t = TypeFromGRPCField(g)
	}
	return ok
}
FromString parses Type from a string representation.
It is a reverse action to String().

Returns true if s was parsed successfully.
package object
import (
	object "github.com/nspcc-dev/neofs-api-go/v2/object/grpc"
)
func (t Type) String() string {
	return TypeToGRPCField(t).String()
}