pub struct ReservationRecord {
pub id: ReservationId,
pub owner_id: Option<OwnerId>,
pub animal_id: Option<AnimalId>,
pub status: Option<String>,
pub unknown: BTreeMap<String, Value>,
}Expand description
Gingr reservation response DTO used to reconcile bookings and source evidence.
Fields§
§id: ReservationIdProvider record identifier observed in the Gingr payload.
owner_id: Option<OwnerId>Provider owner/customer identifier observed in the Gingr payload.
animal_id: Option<AnimalId>Provider animal/pet identifier observed in the Gingr payload.
status: Option<String>Provider status string preserved as source evidence until NVA validates a semantic status.
unknown: BTreeMap<String, Value>Extra provider fields preserved for audit and future mapping without becoming validated NVA facts.
Trait Implementations§
Source§impl Clone for ReservationRecord
impl Clone for ReservationRecord
Source§fn clone(&self) -> ReservationRecord
fn clone(&self) -> ReservationRecord
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 ReservationRecord
impl Debug for ReservationRecord
Source§impl<'de> Deserialize<'de> for ReservationRecord
impl<'de> Deserialize<'de> for ReservationRecord
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 PartialEq for ReservationRecord
impl PartialEq for ReservationRecord
Source§impl Serialize for ReservationRecord
impl Serialize for ReservationRecord
impl StructuralPartialEq for ReservationRecord
Auto Trait Implementations§
impl Freeze for ReservationRecord
impl RefUnwindSafe for ReservationRecord
impl Send for ReservationRecord
impl Sync for ReservationRecord
impl Unpin for ReservationRecord
impl UnsafeUnpin for ReservationRecord
impl UnwindSafe for ReservationRecord
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