Struct ofdb_boundary::PlaceRevision
source · [−]pub struct PlaceRevision {
pub revision: u64,
pub created: Activity,
pub title: String,
pub description: String,
pub location: Location,
pub contact: Contact,
pub opening_hours: Option<String>,
pub founded_on: Option<Date>,
pub links: Links,
pub tags: Vec<String>,
}Fields
revision: u64created: Activitytitle: Stringdescription: Stringlocation: Locationcontact: Contactopening_hours: Option<String>founded_on: Option<Date>links: LinksTrait Implementations
sourceimpl<'de> Deserialize<'de> for PlaceRevision
impl<'de> Deserialize<'de> for PlaceRevision
sourcefn 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
sourceimpl From<PlaceRevision> for PlaceRevision
impl From<PlaceRevision> for PlaceRevision
sourcefn from(from: PlaceRevision) -> Self
fn from(from: PlaceRevision) -> Self
Converts to this type from the input type.
sourceimpl From<PlaceRevision> for PlaceRevision
impl From<PlaceRevision> for PlaceRevision
sourcefn from(from: PlaceRevision) -> Self
fn from(from: PlaceRevision) -> Self
Converts to this type from the input type.
sourceimpl Serialize for PlaceRevision
impl Serialize for PlaceRevision
Auto Trait Implementations
impl RefUnwindSafe for PlaceRevision
impl Send for PlaceRevision
impl Sync for PlaceRevision
impl Unpin for PlaceRevision
impl UnwindSafe for PlaceRevision
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more