pub struct Hosted {
pub backend: Arc<dyn DecisionBackend>,
pub served: ServedTerms,
pub cost: Option<CostBound>,
pub privacy: Vec<String>,
}Expand description
One hosted backend and what the server declares about it.
Fields§
§backend: Arc<dyn DecisionBackend>§served: ServedTermsDefault: pinned to the backend’s artifact identity, which the server can guarantee because it hosts that backend.
cost: Option<CostBound>Default: the backend’s own per-call disclosure.
privacy: Vec<String>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Hosted
impl !UnwindSafe for Hosted
impl Freeze for Hosted
impl Send for Hosted
impl Sync for Hosted
impl Unpin for Hosted
impl UnsafeUnpin for Hosted
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