tallgrass/client/berry_firmness

Functions

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

Fetches a berry firmness by the firmness ID.

Example

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

Fetches a berry firmness by the firmness name.

Example

let result = berry_firmness.fetch_by_name("very-soft")
Search Document