Struct openstreetmap_api::types::Relation
source · [−]pub struct Relation {
pub id: u64,
pub visible: bool,
pub version: u64,
pub changeset: u64,
pub timestamp: String,
pub user: String,
pub uid: u64,
pub tags: Vec<Tag>,
pub members: Vec<Member>,
}
Fields
id: u64
visible: bool
version: u64
changeset: u64
timestamp: String
user: String
uid: u64
members: Vec<Member>
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Relation
impl UnwindSafe for Relation
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more