pub struct DaemonShutdownArgs {
pub(crate) rest_url: Option<String>,
pub(crate) rest_port: Option<u16>,
pub(crate) api_key: Option<String>,
}Fields§
§rest_url: Option<String>目标 REST 端点 URL(默认从 FUTU_REST_URL 环境变量读,或 http://127.0.0.1:22222)
rest_port: Option<u16>v1.4.106 codex 0554 F5 [P3]: 风格一致性 — 与 daemon-status 对齐,
REST/MCP 风格用户习惯指定 port, 自动转 http://127.0.0.1:
api_key: Option<String>带 Bearer Token(scope 模式下需要 admin scope 的 key)
Trait Implementations§
Source§impl Args for DaemonShutdownArgs
impl Args for DaemonShutdownArgs
Source§fn group_id() -> Option<Id>
fn group_id() -> Option<Id>
Report the [
ArgGroup::id][crate::ArgGroup::id] for this set of argumentsSource§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 FromArgMatches for DaemonShutdownArgs
impl FromArgMatches for DaemonShutdownArgs
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 DaemonShutdownArgs
impl RefUnwindSafe for DaemonShutdownArgs
impl Send for DaemonShutdownArgs
impl Sync for DaemonShutdownArgs
impl Unpin for DaemonShutdownArgs
impl UnsafeUnpin for DaemonShutdownArgs
impl UnwindSafe for DaemonShutdownArgs
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