profiltyp

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 Profiltyp

type Profiltyp int

Profiltyp describes whether the profil is temperaturabhängig or a standardlastprofil Note that this enum is not official BO4E standard (yet)!

const (
	// SLS_SEP means SLS/SEP
	SLP_SEP Profiltyp = iota + 1
	TLP_TEP           // TLP_TEP means TLS/TEP
)

func (Profiltyp) MarshalJSON

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

MarshalJSON is generated so Profiltyp satisfies json.Marshaler.

func (*Profiltyp) Scan added in v0.2.3

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

func (i Profiltyp) String() string

func (*Profiltyp) UnmarshalJSON

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

UnmarshalJSON is generated so Profiltyp satisfies json.Unmarshaler.

func (Profiltyp) Value added in v0.2.3

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