tallgrass/client/generation

Functions

pub fn fetch_by_id(id: Int) -> Result(Generation, Error)

Fetches a generation by the generation ID.

Example

let result = generation.fetch_by_id(1)
pub fn fetch_by_name(name: String) -> Result(Generation, Error)

Fetches a generation by the generation name.

Example

let result = generation.fetch_by_name("generation-i")
Search Document