pub struct RestAdminHooks {
pub admin_status_provider: Option<AdminStatusProvider>,
pub admin_reload_handler: Option<AdminReloadHandler>,
pub push_health_snapshot_provider: Option<PushHealthSnapshotProvider>,
pub card_num_resolver: Option<CardNumResolver>,
}Expand description
REST admin/diagnostic extension hooks injected by futu-opend.
These hooks are a single surface-adapter bundle: the REST crate keeps the
HTTP routing shape, while futu-opend owns the gateway/cache providers.
Fields§
§admin_status_provider: Option<AdminStatusProvider>§admin_reload_handler: Option<AdminReloadHandler>§push_health_snapshot_provider: Option<PushHealthSnapshotProvider>§card_num_resolver: Option<CardNumResolver>Trait Implementations§
Source§impl Default for RestAdminHooks
impl Default for RestAdminHooks
Source§fn default() -> RestAdminHooks
fn default() -> RestAdminHooks
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RestAdminHooks
impl !RefUnwindSafe for RestAdminHooks
impl Send for RestAdminHooks
impl Sync for RestAdminHooks
impl Unpin for RestAdminHooks
impl UnsafeUnpin for RestAdminHooks
impl !UnwindSafe for RestAdminHooks
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