pub struct Way { /* private fields */ }
Implementations§
Source§impl Way
impl Way
pub fn new( id: i64, version: i32, timestamp: i64, changeset: i64, uid: i32, user: String, visible: bool, refs: Vec<i64>, tags: Vec<Tag>, ) -> Way
pub fn id(&self) -> i64
pub fn version(&self) -> i32
pub fn timestamp(&self) -> i64
pub fn changeset(&self) -> i64
pub fn uid(&self) -> i32
pub fn user(&self) -> &String
pub fn take_user(&mut self) -> String
pub fn visible(&self) -> bool
pub fn refs(&self) -> &Vec<i64>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Way
impl RefUnwindSafe for Way
impl Send for Way
impl Sync for Way
impl Unpin for Way
impl UnwindSafe for Way
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more