Auth

public struct Auth<T> : Equatable where T : SteemEncodable, T : Decodable, T : Equatable

A type representing a key or account auth and its weight.

  • Declaration

    Swift

    public let value: T
  • Declaration

    Swift

    public let weight: UInt16
  • Declaration

    Swift

    public init(_ value: T, weight: UInt16 = 1)
  • Declaration

    Swift

    public init(from decoder: Decoder) throws
  • Declaration

    Swift

    public func encode(to encoder: Encoder) throws
  • Key

    Declaration

    Swift

    public typealias Key = T
  • Declaration

    Swift

    public typealias Value = UInt16
  • Declaration

    Swift

    public init(dictionaryLiteral elements: (T, UInt16)...)