pub struct Entry {
Show 25 fields pub id: String, pub created: i64, pub version: u64, pub title: String, pub description: String, pub lat: f64, pub lng: f64, pub street: Option<String>, pub zip: Option<String>, pub city: Option<String>, pub country: Option<String>, pub state: Option<String>, pub contact_name: Option<String>, pub email: Option<String>, pub telephone: Option<String>, pub homepage: Option<String>, pub opening_hours: Option<String>, pub founded_on: Option<Date>, pub categories: Vec<String>, pub tags: Vec<String>, pub ratings: Vec<String>, pub license: Option<String>, pub image_url: Option<String>, pub image_link_url: Option<String>, pub custom_links: Vec<CustomLink>,
}

Fields

id: Stringcreated: i64version: u64title: Stringdescription: Stringlat: f64lng: f64street: Option<String>zip: Option<String>city: Option<String>country: Option<String>state: Option<String>contact_name: Option<String>email: Option<String>telephone: Option<String>homepage: Option<String>opening_hours: Option<String>founded_on: Option<Date>categories: Vec<String>tags: Vec<String>ratings: Vec<String>license: Option<String>image_url: Option<String>image_link_url: Option<String>custom_links: Vec<CustomLink>

Trait Implementations

source

impl<'de> Deserialize<'de> for Entry

Deserialize this value from the given Serde deserializer. Read more

Converts to this type from the input type.

source

impl Serialize for Entry

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

impl RefUnwindSafe for Entry

impl Send for Entry

impl Sync for Entry

impl Unpin for Entry

impl UnwindSafe for Entry

Blanket Implementations

source

impl<T> Any for T where
    T: 'static + ?Sized

Gets the TypeId of self. Read more

source

impl<T> Borrow<T> for T where
    T: ?Sized

Immutably borrows from an owned value. Read more

source

impl<T> BorrowMut<T> for T where
    T: ?Sized

Mutably borrows from an owned value. Read more

source

impl<T> From<T> for T

Returns the argument unchanged.

source

impl<T, U> Into<U> for T where
    U: From<T>, 

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source

impl<T> Same<T> for T

Should always be Self

source

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

The type returned in the event of a conversion error.

Performs the conversion.

source

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

The type returned in the event of a conversion error.

Performs the conversion.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

source

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>,