pub struct PlacementsCacheRepo<'a> { /* private fields */ }Expand description
Persistent store for the last-known placement response, mirroring
OfferingsCacheRepo. The cached
body is the raw PlacementsResponse JSON (the data payload), keyed by
placement:{identifier} so it can be parsed back and re-resolved (bucket
draw + variant selection) when the network is unavailable.
Implementations§
Source§impl<'a> PlacementsCacheRepo<'a>
impl<'a> PlacementsCacheRepo<'a>
Auto Trait Implementations§
impl<'a> Freeze for PlacementsCacheRepo<'a>
impl<'a> RefUnwindSafe for PlacementsCacheRepo<'a>
impl<'a> Send for PlacementsCacheRepo<'a>
impl<'a> Sync for PlacementsCacheRepo<'a>
impl<'a> Unpin for PlacementsCacheRepo<'a>
impl<'a> UnwindSafe for PlacementsCacheRepo<'a>
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