tallgrass/client/item_attribute

Functions

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

Fetches an item_attribute by the item_attribute ID.

Example

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

Fetches an item_attribute by the item_attribute name.

Example

let result = item_attribute.fetch_by_name("countable")
Search Document