pub struct Request {
pub location_id: LocationId,
pub reservation_id: Option<Id>,
pub service_notes: ServiceNotes,
}Expand description
Availability lookup input for a location/service request.
This packet supplies enough source context for an adapter to check capacity or policy hard-stops while keeping the workflow in read/draft mode.
Fields§
§location_id: LocationIdResort/location whose capacity or policy should be checked.
reservation_id: Option<Id>Reservation context when the check is for an existing booking workflow.
service_notes: ServiceNotesStaff/customer service notes that clarify requested dates, service line, pet constraints, or missing information for the availability check.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Request
impl<'de> Deserialize<'de> for Request
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
impl Eq for Request
impl StructuralPartialEq for Request
Auto Trait Implementations§
impl Freeze for Request
impl RefUnwindSafe for Request
impl Send for Request
impl Sync for Request
impl Unpin for Request
impl UnsafeUnpin for Request
impl UnwindSafe for Request
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