pub struct SpeculativeDecoding {
pub default: String,
pub proposers: BTreeMap<String, ProposerSpec>,
pub strategies: BTreeMap<String, StrategySpec>,
}Fields§
§default: String§proposers: BTreeMap<String, ProposerSpec>§strategies: BTreeMap<String, StrategySpec>Trait Implementations§
Source§impl Clone for SpeculativeDecoding
impl Clone for SpeculativeDecoding
Source§impl Debug for SpeculativeDecoding
impl Debug for SpeculativeDecoding
Source§impl<'de> Deserialize<'de> for SpeculativeDecoding
impl<'de> Deserialize<'de> for SpeculativeDecoding
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 SpeculativeDecoding
Source§impl PartialEq for SpeculativeDecoding
impl PartialEq for SpeculativeDecoding
Source§impl Serialize for SpeculativeDecoding
impl Serialize for SpeculativeDecoding
impl StructuralPartialEq for SpeculativeDecoding
Auto Trait Implementations§
impl Freeze for SpeculativeDecoding
impl RefUnwindSafe for SpeculativeDecoding
impl Send for SpeculativeDecoding
impl Sync for SpeculativeDecoding
impl Unpin for SpeculativeDecoding
impl UnsafeUnpin for SpeculativeDecoding
impl UnwindSafe for SpeculativeDecoding
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