pub struct BrokerAuth {
pub broker_id: u32,
pub customer_id: u64,
pub broker_client_sig: Vec<u8>,
pub broker_client_key: Vec<u8>,
}Expand description
broker_auth HTTP 响应里提取出的 broker-specific 凭据
Fields§
§broker_id: u32§customer_id: u64§broker_client_sig: Vec<u8>§broker_client_key: Vec<u8>Trait Implementations§
Source§impl Clone for BrokerAuth
impl Clone for BrokerAuth
Source§fn clone(&self) -> BrokerAuth
fn clone(&self) -> BrokerAuth
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 BrokerAuth
impl RefUnwindSafe for BrokerAuth
impl Send for BrokerAuth
impl Sync for BrokerAuth
impl Unpin for BrokerAuth
impl UnsafeUnpin for BrokerAuth
impl UnwindSafe for BrokerAuth
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