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 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