pub struct ReloadState {
pub http: Client,
pub commconfig: SharedCommConfig,
pub web_site_config: SharedSiteConfig,
pub broker_auth_route_cache: BrokerAuthRouteCache,
pub client_type: u8,
pub account: String,
pub device_id: String,
pub region_code: Option<String>,
pub attribution: UserAttribution,
}Expand description
v1.4.34: bridge 保留的“reload 可用上下文“。
不存 plaintext password —— daemon-reload 只能用磁盘 credentials 里已存的
tgtgt 走 remember-login 刷新。过期 / 失败时 reload 会返 warning 让用户
shutdown + supervisor restart。
Fields§
§http: Client§commconfig: SharedCommConfig§web_site_config: SharedSiteConfig§broker_auth_route_cache: BrokerAuthRouteCache§client_type: u8§account: String§device_id: String§region_code: Option<String>§attribution: UserAttributionTrait Implementations§
Source§impl Clone for ReloadState
impl Clone for ReloadState
Source§fn clone(&self) -> ReloadState
fn clone(&self) -> ReloadState
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 moreAuto Trait Implementations§
impl Freeze for ReloadState
impl !RefUnwindSafe for ReloadState
impl Send for ReloadState
impl Sync for ReloadState
impl Unpin for ReloadState
impl UnsafeUnpin for ReloadState
impl !UnwindSafe for ReloadState
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