struct OpenTelemetry::Attribute(K)

Defined in:

attribute.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(key : String, value : K) #

[View source]
def self.new(value : K) #

[View source]

Class Method Detail

def self.from_a(ary) #

[View source]
def self.from_h(hash) #

[View source]
def self.to_anyvalue(attribute) #

[View source]

Instance Method Detail

def key : String #

[View source]
def to_bool #

[View source]
def to_f #

[View source]
def to_h #

[View source]
def to_i #

[View source]
def to_s(io : IO) : Nil #
Description copied from struct Struct

Same as #inspect(io).


[View source]
def value : K #

[View source]