tallgrass/client/version

Functions

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

Fetches a version by the version ID.

Example

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

Fetches a version by the version name.

Example

let result = version.fetch_by_name("red")
Search Document