pub struct NoSkipVenue {
pub location: BoxWrapper<Unbox<Location>>,
pub title: String,
pub address: String,
pub foursquare_id: Option<String>,
pub foursquare_type: Option<String>,
pub google_place_id: Option<String>,
pub google_place_type: Option<String>,
}Expand description
Companion type to Venue that doesn’t skip fields when serializing. Used for certain deserializers that use arrays to represent struct members
Fields§
§location: BoxWrapper<Unbox<Location>>Venue location. Can’t be a live location
title: StringName of the venue
address: StringAddress of the venue
foursquare_id: Option<String>§foursquare_type: Option<String>§google_place_id: Option<String>§google_place_type: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for NoSkipVenue
impl Clone for NoSkipVenue
Source§fn clone(&self) -> NoSkipVenue
fn clone(&self) -> NoSkipVenue
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 NoSkipVenue
impl Debug for NoSkipVenue
Source§impl Default for NoSkipVenue
impl Default for NoSkipVenue
Source§fn default() -> NoSkipVenue
fn default() -> NoSkipVenue
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NoSkipVenue
impl<'de> Deserialize<'de> for NoSkipVenue
Source§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
Source§impl From<NoSkipVenue> for Venue
impl From<NoSkipVenue> for Venue
Source§fn from(t: NoSkipVenue) -> Self
fn from(t: NoSkipVenue) -> Self
Converts to this type from the input type.
Source§impl Hash for NoSkipVenue
impl Hash for NoSkipVenue
Source§impl Into<NoSkipVenue> for Venue
impl Into<NoSkipVenue> for Venue
Source§fn into(self) -> NoSkipVenue
fn into(self) -> NoSkipVenue
Converts this type into the (usually inferred) input type.
Source§impl Ord for NoSkipVenue
impl Ord for NoSkipVenue
Source§fn cmp(&self, other: &NoSkipVenue) -> Ordering
fn cmp(&self, other: &NoSkipVenue) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for NoSkipVenue
impl PartialEq for NoSkipVenue
Source§impl PartialOrd for NoSkipVenue
impl PartialOrd for NoSkipVenue
Source§impl Serialize for NoSkipVenue
impl Serialize for NoSkipVenue
impl Eq for NoSkipVenue
impl StructuralPartialEq for NoSkipVenue
Auto Trait Implementations§
impl Freeze for NoSkipVenue
impl RefUnwindSafe for NoSkipVenue
impl Send for NoSkipVenue
impl Sync for NoSkipVenue
impl Unpin for NoSkipVenue
impl UnsafeUnpin for NoSkipVenue
impl UnwindSafe for NoSkipVenue
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.