lokationstyp

package
v0.5.0-alpha0 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2023 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 Lokationstyp

type Lokationstyp int

The Lokationstyp describe whether the object it's used in is a market or metering location

const (
	// MALO is short for Marktlokation / market location
	MALO Lokationstyp = iota + 1
	MELO              // MELO is short for Messlokation / metering location
)

func (Lokationstyp) MarshalJSON

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

MarshalJSON is generated so Lokationstyp satisfies json.Marshaler.

func (*Lokationstyp) Scan added in v0.2.3

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

func (i Lokationstyp) String() string

func (*Lokationstyp) UnmarshalJSON

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

UnmarshalJSON is generated so Lokationstyp satisfies json.Unmarshaler.

func (Lokationstyp) Value added in v0.2.3

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