#[non_exhaustive]pub struct AdmittedInfo {
pub lease_id: Option<String>,
pub server_now: Option<i64>,
pub client_nonce: Option<String>,
}Expand description
Sent with every connection.admitted. It arrives before the subscribe is validated, so it
does not mean the subscribe was accepted.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.lease_id: Option<String>Lease id of the connection.
server_now: Option<i64>Server time in epoch milliseconds.
client_nonce: Option<String>The clientNonce echoed back.
Trait Implementations§
Source§impl Clone for AdmittedInfo
impl Clone for AdmittedInfo
Source§impl Debug for AdmittedInfo
impl Debug for AdmittedInfo
impl Eq for AdmittedInfo
Source§impl PartialEq for AdmittedInfo
impl PartialEq for AdmittedInfo
impl StructuralPartialEq for AdmittedInfo
Auto Trait Implementations§
impl Forget for AdmittedInfo
impl Freeze for AdmittedInfo
impl Move for AdmittedInfo
impl RefUnwindSafe for AdmittedInfo
impl Send for AdmittedInfowhere
RawVecInner: Send,
impl Sync for AdmittedInfowhere
RawVecInner: Sync,
impl Unpin for AdmittedInfo
impl UnsafeUnpin for AdmittedInfo
impl UnwindSafe for AdmittedInfowhere
RawVecInner: UnwindSafe,
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