pub struct RefreshCredentialsReport {
pub credentials_refreshed: bool,
pub uid: u64,
}Expand description
v1.4.34: daemon-reload 升级(A’ 方案)的产出。
走一次 remember_login 用缓存凭据刷新 tgtgt,只写回磁盘 credentials 文件
不动 bridge 内存状态。下次 Platform / broker TCP 断线重连时自动读新 tgtgt。
Fields§
§credentials_refreshed: bool是否把新凭据成功写回了 credentials 文件
uid: u64服务端返回的新 uid(大部分场景等于旧 uid,拿来 sanity check)
Trait Implementations§
Source§impl Clone for RefreshCredentialsReport
impl Clone for RefreshCredentialsReport
Source§fn clone(&self) -> RefreshCredentialsReport
fn clone(&self) -> RefreshCredentialsReport
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 RefreshCredentialsReport
impl RefUnwindSafe for RefreshCredentialsReport
impl Send for RefreshCredentialsReport
impl Sync for RefreshCredentialsReport
impl Unpin for RefreshCredentialsReport
impl UnsafeUnpin for RefreshCredentialsReport
impl UnwindSafe for RefreshCredentialsReport
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