vertragsart

package
v0.30.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 13, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Code auto-generated; DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Vertragsart

type Vertragsart int

Vertragsart describes different kinds of contracts

const (
	// ENERGIELIEFERVERTRAG is an energy supply contract
	ENERGIELIEFERVERTRAG       Vertragsart = iota + 1
	NETZNUTZUNG                            // Netznutzungsvertrag
	BILANZIERUNGSVERTRAG                   // BILANZIERUNGSVERTRAG
	MESSSTELLENBETRIEBSVERTRAG             // Messstellenabetriebsvertrag
	BUENDELVERTRAG                         // Bündelvertrag
)

func (Vertragsart) MarshalJSON

func (r Vertragsart) MarshalJSON() ([]byte, error)

MarshalJSON is generated so Vertragsart satisfies json.Marshaler.

func (*Vertragsart) Scan added in v0.2.3

func (r *Vertragsart) Scan(src interface{}) error

Scan sets r to the enum value represented by src. It implements the sql.Scanner interface to be useable by sql drivers when reading from database.

func (Vertragsart) String

func (i Vertragsart) String() string

func (*Vertragsart) UnmarshalJSON

func (r *Vertragsart) UnmarshalJSON(data []byte) error

UnmarshalJSON is generated so Vertragsart satisfies json.Unmarshaler.

func (Vertragsart) Value added in v0.2.3

func (r Vertragsart) Value() (driver.Value, error)

Value returns the string representation of r or an error, if no string representation exists. It implements the sql.Valuer interface to be useable by sql drivers when storing enums.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL