pub struct PlanServeInput {
pub model: ServeModelInput,
pub topology: ServeTopology,
pub gateway_backend: Option<String>,
pub pd_router_backend: Option<String>,
pub kv_transfer: Option<KvTransferMechanism>,
pub roles: Vec<ServeRoleInput>,
pub profiling: bool,
}Expand description
The requested serve shape a PlanServe operation lowers into a topology.
Fields§
§model: ServeModelInput§topology: ServeTopology§gateway_backend: Option<String>§pd_router_backend: Option<String>§kv_transfer: Option<KvTransferMechanism>§roles: Vec<ServeRoleInput>§profiling: boolTrait Implementations§
Source§impl Clone for PlanServeInput
impl Clone for PlanServeInput
Source§fn clone(&self) -> PlanServeInput
fn clone(&self) -> PlanServeInput
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 PlanServeInput
impl Debug for PlanServeInput
Source§impl<'de> Deserialize<'de> for PlanServeInput
impl<'de> Deserialize<'de> for PlanServeInput
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 PlanServeInput
impl JsonSchema for PlanServeInput
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 PlanServeInput
impl PartialEq for PlanServeInput
Source§impl Serialize for PlanServeInput
impl Serialize for PlanServeInput
impl StructuralPartialEq for PlanServeInput
Auto Trait Implementations§
impl Freeze for PlanServeInput
impl RefUnwindSafe for PlanServeInput
impl Send for PlanServeInput
impl Sync for PlanServeInput
impl Unpin for PlanServeInput
impl UnsafeUnpin for PlanServeInput
impl UnwindSafe for PlanServeInput
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