pub struct Location {
pub id: LocationId,
pub brand: Brand,
pub name: Name,
pub timezone: Timezone,
pub capabilities: Vec<ServiceKind>,
pub policies: LocationPolicyRefs,
}Expand description
Resort location record that scopes local capabilities, timezone, brand, and policy references.
Fields§
§id: LocationIdSource-backed id carried by this normalized pet-resort entity.
brand: BrandSource-backed brand carried by this normalized pet-resort entity.
name: NameContact or display name used by staff.
timezone: TimezoneSource-backed timezone carried by this normalized pet-resort entity.
capabilities: Vec<ServiceKind>Source-backed capabilities carried by this normalized pet-resort entity.
policies: LocationPolicyRefsSource-backed policies carried by this normalized pet-resort entity.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Location
impl<'de> Deserialize<'de> for Location
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 Location
impl StructuralPartialEq for Location
Auto Trait Implementations§
impl Freeze for Location
impl RefUnwindSafe for Location
impl Send for Location
impl Sync for Location
impl Unpin for Location
impl UnsafeUnpin for Location
impl UnwindSafe for Location
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