near-sdk 5.26.1

Rust library for writing NEAR smart contracts.
Documentation
//! Functions can't use generics.

use near_sdk::near;


#[derive(Default)]
#[near(contract_state)]
struct Ident {
    value: u32,
}

#[near]
impl Ident {
    pub fn is_ident<T>(&self, val: T) -> T {
        val
    }
}

fn main() {}