pub struct ProviderRouteSnapshot {
pub route_id: String,
pub model_id: String,
pub provider_policy_ref: Option<PolicyRef>,
}Expand description
Describes the provider route snapshot portion of a runtime package snapshot. Use it when package authors or tests need explicit package configuration; validation and activation happen in package/runtime coordinators.
Fields§
§route_id: StringStable route id used for typed lineage, lookup, or dedupe.
model_id: StringStable model id used for typed lineage, lookup, or dedupe.
provider_policy_ref: Option<PolicyRef>Policy reference governing provider projection or calls.
Implementations§
Trait Implementations§
Source§impl Clone for ProviderRouteSnapshot
impl Clone for ProviderRouteSnapshot
Source§fn clone(&self) -> ProviderRouteSnapshot
fn clone(&self) -> ProviderRouteSnapshot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ProviderRouteSnapshot
impl Debug for ProviderRouteSnapshot
Source§impl<'de> Deserialize<'de> for ProviderRouteSnapshot
impl<'de> Deserialize<'de> for ProviderRouteSnapshot
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 ProviderRouteSnapshot
Source§impl PartialEq for ProviderRouteSnapshot
impl PartialEq for ProviderRouteSnapshot
Source§fn eq(&self, other: &ProviderRouteSnapshot) -> bool
fn eq(&self, other: &ProviderRouteSnapshot) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ProviderRouteSnapshot
impl Serialize for ProviderRouteSnapshot
impl StructuralPartialEq for ProviderRouteSnapshot
Auto Trait Implementations§
impl Freeze for ProviderRouteSnapshot
impl RefUnwindSafe for ProviderRouteSnapshot
impl Send for ProviderRouteSnapshot
impl Sync for ProviderRouteSnapshot
impl Unpin for ProviderRouteSnapshot
impl UnsafeUnpin for ProviderRouteSnapshot
impl UnwindSafe for ProviderRouteSnapshot
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