pub struct PoolSpecResponse {
pub name: String,
pub queue_pool: String,
pub gpus: HashMap<String, u32>,
pub gpu_caps: HashMap<String, u32>,
pub bundle: Option<String>,
pub minimum_worker_count: u32,
pub pinned_models: Vec<String>,
}Expand description
A pool’s requested shape, as the server echoes it back.
Fields§
§name: String§queue_pool: String§gpus: HashMap<String, u32>§gpu_caps: HashMap<String, u32>Ceiling on assigned workers per GPU type.
bundle: Option<String>§minimum_worker_count: u32§pinned_models: Vec<String>Trait Implementations§
Source§impl Clone for PoolSpecResponse
impl Clone for PoolSpecResponse
Source§fn clone(&self) -> PoolSpecResponse
fn clone(&self) -> PoolSpecResponse
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 PoolSpecResponse
impl Debug for PoolSpecResponse
Source§impl Default for PoolSpecResponse
impl Default for PoolSpecResponse
Source§fn default() -> PoolSpecResponse
fn default() -> PoolSpecResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PoolSpecResponse
impl<'de> Deserialize<'de> for PoolSpecResponse
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 PoolSpecResponse
Source§impl PartialEq for PoolSpecResponse
impl PartialEq for PoolSpecResponse
Source§impl Serialize for PoolSpecResponse
impl Serialize for PoolSpecResponse
impl StructuralPartialEq for PoolSpecResponse
Auto Trait Implementations§
impl Freeze for PoolSpecResponse
impl RefUnwindSafe for PoolSpecResponse
impl Send for PoolSpecResponse
impl Sync for PoolSpecResponse
impl Unpin for PoolSpecResponse
impl UnsafeUnpin for PoolSpecResponse
impl UnwindSafe for PoolSpecResponse
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.