pub enum LoRAPath {
Single(Option<String>),
Batch(Vec<Option<String>>),
}Expand description
LoRA adapter path - can be single path or batch of paths (SGLang extension)
Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LoRAPath
impl<'de> Deserialize<'de> for LoRAPath
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
Auto Trait Implementations§
impl Freeze for LoRAPath
impl RefUnwindSafe for LoRAPath
impl Send for LoRAPath
impl Sync for LoRAPath
impl Unpin for LoRAPath
impl UnwindSafe for LoRAPath
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