pub struct PdRouterPlan {Show 14 fields
pub backend: String,
pub implementation: String,
pub implementation_version: String,
pub effective_settings: BTreeMap<String, SettingValue>,
pub policies: PdRoutingPolicies,
pub prefill_role: String,
pub decode_role: String,
pub target_scheme: TargetEndpointScheme,
pub ports: Vec<String>,
pub readiness: ReadinessProbe,
pub handoff: FrontendHandoff,
pub render_inputs: Vec<RenderInputDeclaration>,
pub render_source: RenderSource,
pub co_rendering: FrontendCoRendering,
}Expand description
The P/D orchestration component plan, kept separate even when the same process and provider also realize Gateway.
Fields§
§backend: String§implementation: String§implementation_version: String§effective_settings: BTreeMap<String, SettingValue>§policies: PdRoutingPolicies§prefill_role: String§decode_role: String§target_scheme: TargetEndpointScheme§ports: Vec<String>§readiness: ReadinessProbe§handoff: FrontendHandoff§render_inputs: Vec<RenderInputDeclaration>§render_source: RenderSource§co_rendering: FrontendCoRenderingTrait Implementations§
Source§impl Clone for PdRouterPlan
impl Clone for PdRouterPlan
Source§fn clone(&self) -> PdRouterPlan
fn clone(&self) -> PdRouterPlan
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 PdRouterPlan
impl Debug for PdRouterPlan
Source§impl<'de> Deserialize<'de> for PdRouterPlan
impl<'de> Deserialize<'de> for PdRouterPlan
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 JsonSchema for PdRouterPlan
impl JsonSchema for PdRouterPlan
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for PdRouterPlan
impl PartialEq for PdRouterPlan
Source§impl Serialize for PdRouterPlan
impl Serialize for PdRouterPlan
impl StructuralPartialEq for PdRouterPlan
Auto Trait Implementations§
impl Freeze for PdRouterPlan
impl RefUnwindSafe for PdRouterPlan
impl Send for PdRouterPlan
impl Sync for PdRouterPlan
impl Unpin for PdRouterPlan
impl UnsafeUnpin for PdRouterPlan
impl UnwindSafe for PdRouterPlan
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