pub struct Node { /* private fields */ }
Implementations§
source§impl Node
impl Node
pub fn new( id: i64, version: i32, coordinate: Coordinate, timestamp: i64, changeset: i64, uid: i32, user: String, visible: bool, tags: Vec<Tag> ) -> Node
pub fn id(&self) -> i64
pub fn version(&self) -> i32
pub fn coordinate(&self) -> &Coordinate
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
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Node
impl Send for Node
impl Sync for Node
impl Unpin for Node
impl UnwindSafe for Node
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