pub struct check_conflicts;Expand description
Check for booking conflicts (preview before creating)
GET /resource-bookings/check-conflicts?building_id=…&resource_type=…&resource_name=…&start_time=…&end_time=…
§Query Parameters
- building_id: UUID
- resource_type: String
- resource_name: String
- start_time: ISO 8601 DateTime
- end_time: ISO 8601 DateTime
- exclude_booking_id: Option
§Responses
- 200 OK: List of conflicting bookings (empty if no conflicts)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for check_conflicts
impl RefUnwindSafe for check_conflicts
impl Send for check_conflicts
impl Sync for check_conflicts
impl Unpin for check_conflicts
impl UnwindSafe for check_conflicts
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
§impl<T> Chain<T> for T
impl<T> Chain<T> for T
§impl<T> Fake for T
impl<T> Fake for T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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 moreCreates a shared type from an unshared type.