pub struct LoraSpec {
pub path: String,
pub scale: f64,
pub name: Option<String>,
}Expand description
Per-stage LoRA adapter spec. Reserved for sub-project B — populating
this in a request before B lands causes ChainRequest::normalise to
return 422. Defined now so scripts that round-trip through v1 clients
don’t drop fields silently.
Fields§
§path: String§scale: f64§name: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for LoraSpec
impl<'de> Deserialize<'de> for LoraSpec
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 LoraSpec
impl RefUnwindSafe for LoraSpec
impl Send for LoraSpec
impl Sync for LoraSpec
impl Unpin for LoraSpec
impl UnsafeUnpin for LoraSpec
impl UnwindSafe for LoraSpec
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