pub struct Claim {
pub topic: String,
pub holder: String,
pub expires_at: i64,
pub lease: i64,
}Expand description
13a (13.3): a live claim, as Mnemo::claims lists it (no token).
Fields§
§topic: StringWhat’s claimed.
holder: StringWho holds it.
expires_at: i64When it lapses unless renewed.
lease: i64Its lease, in seconds.
Trait Implementations§
impl Eq for Claim
impl StructuralPartialEq for Claim
Auto Trait Implementations§
impl Forget for Claim
impl Freeze for Claim
impl Move for Claim
impl RefUnwindSafe for Claim
impl Send for Claim
impl Sync for Claim
impl Unpin for Claim
impl UnsafeUnpin for Claim
impl UnwindSafe for Claim
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