pub struct LeaseState {
pub lease_id: Option<String>,
pub expires_at_ms: Option<i64>,
pub error_code: Option<String>,
}Expand description
§7.3.5: the client’s opaque auth-lease state — leaseId/expiresAtMs
from the last LEASE frame, and errorCode once a round was rejected
with a request-level lease code (stop-and-surface; no data purge).
Fields§
§lease_id: Option<String>§expires_at_ms: Option<i64>§error_code: Option<String>Trait Implementations§
Source§impl Clone for LeaseState
impl Clone for LeaseState
Source§fn clone(&self) -> LeaseState
fn clone(&self) -> LeaseState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LeaseState
impl Debug for LeaseState
Source§impl Default for LeaseState
impl Default for LeaseState
Source§fn default() -> LeaseState
fn default() -> LeaseState
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LeaseState
impl RefUnwindSafe for LeaseState
impl Send for LeaseState
impl Sync for LeaseState
impl Unpin for LeaseState
impl UnsafeUnpin for LeaseState
impl UnwindSafe for LeaseState
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