pub struct ExportConfig {
pub model_name: String,
pub organization: Option<String>,
pub target_architecture: String,
pub include_patterns: bool,
pub include_lora: bool,
pub include_preferences: bool,
pub min_quality_threshold: f32,
pub compress: bool,
}Expand description
Export configuration
Fields§
§model_name: StringModel name for HuggingFace
organization: Option<String>Organization/user on HuggingFace
target_architecture: StringTarget model architecture (e.g., “phi-4”, “llama-7b”, “mistral-7b”)
include_patterns: boolInclude patterns in export
include_lora: boolInclude LoRA weights
include_preferences: boolInclude preference pairs
min_quality_threshold: f32Minimum quality threshold for exports
compress: boolCompress outputs
Trait Implementations§
Source§impl Clone for ExportConfig
impl Clone for ExportConfig
Source§fn clone(&self) -> ExportConfig
fn clone(&self) -> ExportConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 ExportConfig
impl Debug for ExportConfig
Source§impl Default for ExportConfig
impl Default for ExportConfig
Source§impl<'de> Deserialize<'de> for ExportConfig
impl<'de> Deserialize<'de> for ExportConfig
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 ExportConfig
impl RefUnwindSafe for ExportConfig
impl Send for ExportConfig
impl Sync for ExportConfig
impl Unpin for ExportConfig
impl UnwindSafe for ExportConfig
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