Let's say I have the following smart contract (in Rust):
#[near_bindgen]
#[derive(BorshDeserialize, BorshSerialize)]
pub struct Number {
pub val: u128,
pub decimals: u8
}
Can I access decimals or val without defining a pub fn for it?