verbrauchsart

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: May 2, 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 Verbrauchsart

type Verbrauchsart int

Verbrauchsart describes the consumption type of a market location.

const (
	// KL stands for Kraft/Licht
	KL   Verbrauchsart = iota + 1
	KLW                // KLW stands for Kraft/Licht/Wärme
	KLWS               // KLWS stands for Kraft/Licht/Wärme/Speicherheizung
	W                  // W stands for Wärme
	WS                 // WS stands for Wärme/Speicherheizung
)

func (Verbrauchsart) MarshalJSON

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

MarshalJSON is generated so Verbrauchsart satisfies json.Marshaler.

func (*Verbrauchsart) Scan added in v0.2.3

func (r *Verbrauchsart) 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 (Verbrauchsart) String

func (i Verbrauchsart) String() string

func (*Verbrauchsart) UnmarshalJSON

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

UnmarshalJSON is generated so Verbrauchsart satisfies json.Unmarshaler.

func (Verbrauchsart) Value added in v0.2.3

func (r Verbrauchsart) 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