pub struct KnowledgeDistillArgs {
pub config: PathBuf,
pub dry_run: bool,
pub apply: bool,
pub actor: String,
}Fields§
§config: PathBuf§dry_run: bool只预览不写入
apply: bool执行写入(生成 candidate 知识页)
actor: String操作者
Trait Implementations§
Source§impl Args for KnowledgeDistillArgs
impl Args for KnowledgeDistillArgs
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl Clone for KnowledgeDistillArgs
impl Clone for KnowledgeDistillArgs
Source§fn clone(&self) -> KnowledgeDistillArgs
fn clone(&self) -> KnowledgeDistillArgs
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 KnowledgeDistillArgs
impl Debug for KnowledgeDistillArgs
Source§impl FromArgMatches for KnowledgeDistillArgs
impl FromArgMatches for KnowledgeDistillArgs
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Auto Trait Implementations§
impl Freeze for KnowledgeDistillArgs
impl RefUnwindSafe for KnowledgeDistillArgs
impl Send for KnowledgeDistillArgs
impl Sync for KnowledgeDistillArgs
impl Unpin for KnowledgeDistillArgs
impl UnsafeUnpin for KnowledgeDistillArgs
impl UnwindSafe for KnowledgeDistillArgs
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