pub struct Client {
pub node_id: [u8; 32],
pub identity_key: Vec<u8>,
pub connect_key: Vec<u8>,
pub connect_binding: SignedTbs,
pub capabilities: u64,
pub status_expires_at: i64,
pub binding_not_after: i64,
pub puzzle: PuzzleResult,
pub member_endorsement: Vec<u8>,
pub version: i64,
}Expand description
What a station knows of an accepted client.
Fields§
§node_id: [u8; 32]§identity_key: Vec<u8>§connect_key: Vec<u8>§connect_binding: SignedTbs§capabilities: u64§status_expires_at: i64§binding_not_after: i64§puzzle: PuzzleResult§member_endorsement: Vec<u8>The endorsement the CONNECT carried, empty when the client holds none. Nothing here checks it: that is the station’s policy.
version: i64The version the CONNECT carried, 4 or 5.
Trait Implementations§
impl Eq for Client
impl StructuralPartialEq for Client
Auto Trait Implementations§
impl Freeze for Client
impl RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl UnsafeUnpin for Client
impl UnwindSafe for Client
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