package rawoptional

import "github.com/ydb-platform/ydb-go-sdk/v3/internal/grpcwrapper/rawoptional"

Index

Types

type Bool

type Bool struct {
	Value    bool
	HasValue bool
}

func (*Bool) ToProto

func (b *Bool) ToProto() *bool

type Duration

type Duration struct {
	Value    time.Duration
	HasValue bool
}

func (*Duration) ToProto

func (v *Duration) ToProto() *durationpb.Duration

type Int64

type Int64 struct {
	Value    int64
	HasValue bool
}

func (*Int64) ToProto

func (v *Int64) ToProto() *int64

type Time

type Time struct {
	Value    time.Time
	HasValue bool
}

func (*Time) MustFromProto

func (v *Time) MustFromProto(proto *timestamppb.Timestamp)

func (*Time) ToProto

func (v *Time) ToProto() *timestamppb.Timestamp

Source Files

rawoptional.go

Version
v3.75.2
Published
Jul 17, 2024
Platform
linux/amd64
Imports
3 packages
Last checked
1 minute ago

Tools for package owners.