pub struct RenderServeInput {
pub model: ServeModelInput,
pub topology: ServeTopology,
pub routing_backend: Option<String>,
pub kv_transfer: Option<KvTransferMechanism>,
pub roles: Vec<ServeRoleResult>,
pub routing: RoutingResult,
pub links: Vec<ServeRoleLink>,
pub allocations: Vec<ServeProcessAllocation>,
pub render_inputs: Vec<SuppliedRenderInput>,
pub profiling: bool,
}Expand description
The planned topology plus the control plane’s concrete allocations that a
RenderServe operation turns into final process invocations.
Fields§
§model: ServeModelInput§topology: ServeTopology§routing_backend: Option<String>§kv_transfer: Option<KvTransferMechanism>§roles: Vec<ServeRoleResult>§routing: RoutingResult§links: Vec<ServeRoleLink>§allocations: Vec<ServeProcessAllocation>§render_inputs: Vec<SuppliedRenderInput>§profiling: boolTrait Implementations§
Source§impl Clone for RenderServeInput
impl Clone for RenderServeInput
Source§fn clone(&self) -> RenderServeInput
fn clone(&self) -> RenderServeInput
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 RenderServeInput
impl Debug for RenderServeInput
Source§impl<'de> Deserialize<'de> for RenderServeInput
impl<'de> Deserialize<'de> for RenderServeInput
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 RenderServeInput
impl JsonSchema for RenderServeInput
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 RenderServeInput
impl PartialEq for RenderServeInput
Source§impl Serialize for RenderServeInput
impl Serialize for RenderServeInput
impl StructuralPartialEq for RenderServeInput
Auto Trait Implementations§
impl Freeze for RenderServeInput
impl RefUnwindSafe for RenderServeInput
impl Send for RenderServeInput
impl Sync for RenderServeInput
impl Unpin for RenderServeInput
impl UnsafeUnpin for RenderServeInput
impl UnwindSafe for RenderServeInput
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