pub struct BrokerAuthCode {
pub broker_id: u32,
pub auth_code: String,
pub invalid_time: u64,
}Expand description
auth_code_list 响应条目——每个 broker 一项。
对齐 C++ FTLogin/Src/ftlogin/auth/impl/auth_impl.cpp:3504(ParseAuthCodeList)
Fields§
§broker_id: u32§auth_code: String§invalid_time: u64Trait Implementations§
Source§impl Clone for BrokerAuthCode
impl Clone for BrokerAuthCode
Source§fn clone(&self) -> BrokerAuthCode
fn clone(&self) -> BrokerAuthCode
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 moreSource§impl Debug for BrokerAuthCode
impl Debug for BrokerAuthCode
Source§impl<'de> Deserialize<'de> for BrokerAuthCode
impl<'de> Deserialize<'de> for BrokerAuthCode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for BrokerAuthCode
impl RefUnwindSafe for BrokerAuthCode
impl Send for BrokerAuthCode
impl Sync for BrokerAuthCode
impl Unpin for BrokerAuthCode
impl UnsafeUnpin for BrokerAuthCode
impl UnwindSafe for BrokerAuthCode
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