pub struct PlaceRevision {
pub revision: Revision,
pub created: Activity,
pub title: String,
pub description: String,
pub location: Location,
pub contact: Option<Contact>,
pub opening_hours: Option<OpeningHours>,
pub founded_on: Option<Date>,
pub links: Option<Links>,
pub tags: Vec<String>,
}
Fields§
§revision: Revision
§created: Activity
§title: String
§description: String
§location: Location
§contact: Option<Contact>
§opening_hours: Option<OpeningHours>
§founded_on: Option<Date>
§links: Option<Links>
Trait Implementations§
Source§impl Clone for PlaceRevision
impl Clone for PlaceRevision
Source§fn clone(&self) -> PlaceRevision
fn clone(&self) -> PlaceRevision
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PlaceRevision
impl Debug for PlaceRevision
Source§impl PartialEq for PlaceRevision
impl PartialEq for PlaceRevision
impl Eq for PlaceRevision
impl StructuralPartialEq for PlaceRevision
Auto Trait Implementations§
impl Freeze for PlaceRevision
impl RefUnwindSafe for PlaceRevision
impl Send for PlaceRevision
impl Sync for PlaceRevision
impl Unpin for PlaceRevision
impl UnwindSafe for PlaceRevision
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more