pub struct PushSubscriberInfoArgs {
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>REST/MCP 风格用户习惯指定 port,自动转 http://127.0.0.1:
api_key: Option<String>带 Bearer Token(scope 模式下需要 acc:read scope)
Trait Implementations§
Source§impl Args for PushSubscriberInfoArgs
impl Args for PushSubscriberInfoArgs
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 PushSubscriberInfoArgs
impl FromArgMatches for PushSubscriberInfoArgs
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 PushSubscriberInfoArgs
impl RefUnwindSafe for PushSubscriberInfoArgs
impl Send for PushSubscriberInfoArgs
impl Sync for PushSubscriberInfoArgs
impl Unpin for PushSubscriberInfoArgs
impl UnsafeUnpin for PushSubscriberInfoArgs
impl UnwindSafe for PushSubscriberInfoArgs
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