gleeps_dev_tools/state_list

Types

pub type Data {
  Data(rows: List(StateInfo))
}

Constructors

pub type Limit {
  NoLimit
  Latest(count: Int)
  WithinRange(starting_at: Int, count: Int)
}

Constructors

  • NoLimit
  • Latest(count: Int)
  • WithinRange(starting_at: Int, count: Int)
pub type StateInfo {
  StateInfo(
    version: Int,
    byte_size: Int,
    last_write: timestamp.Timestamp,
  )
}

Constructors

Values

pub fn decoder() -> decode.Decoder(Data)
pub fn describe_limit(limit: Limit) -> String

Turn Limit into a human readable string

pub fn limit_decoder() -> decode.Decoder(Limit)
pub fn limit_to_json(limit: Limit) -> json.Json
pub fn to_json(data: Data) -> json.Json
Search Document