pub struct User { pub name: String, } impl User { pub fn save(&self) -> bool { true } }