pub struct HotelQuery {
pub near: Waypoint,
pub check_in: String,
pub check_out: String,
pub adults: Option<u32>,
pub currency: Option<String>,
pub max: Option<u32>,
pub sort: Option<HotelSort>,
}Fields§
§near: Waypoint§check_in: StringYYYY-MM-DD.
check_out: StringYYYY-MM-DD.
adults: Option<u32>§currency: Option<String>§max: Option<u32>§sort: Option<HotelSort>Trait Implementations§
Source§impl Clone for HotelQuery
impl Clone for HotelQuery
Source§impl Debug for HotelQuery
impl Debug for HotelQuery
Source§impl Default for HotelQuery
impl Default for HotelQuery
Source§impl<'de> Deserialize<'de> for HotelQuery
impl<'de> Deserialize<'de> for HotelQuery
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
Auto Trait Implementations§
impl Forget for HotelQuery
impl Freeze for HotelQuery
impl Move for HotelQuery
impl RefUnwindSafe for HotelQuery
impl Send for HotelQuery
impl Sync for HotelQuery
impl Unpin for HotelQuery
impl UnsafeUnpin for HotelQuery
impl UnwindSafe for HotelQuery
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