pub struct QueryTicket {
pub key: QueryKey,
pub generation: u64,
}Expand description
一次回投的凭据。由 QueryState::request 返回,回投时必须原样带回。
Fields§
§key: QueryKey§generation: u64Trait Implementations§
Source§impl Clone for QueryTicket
impl Clone for QueryTicket
impl Copy for QueryTicket
Source§impl Debug for QueryTicket
impl Debug for QueryTicket
impl Eq for QueryTicket
Source§impl PartialEq for QueryTicket
impl PartialEq for QueryTicket
impl StructuralPartialEq for QueryTicket
Auto Trait Implementations§
impl Forget for QueryTicket
impl Freeze for QueryTicket
impl Move for QueryTicket
impl RefUnwindSafe for QueryTicket
impl Send for QueryTicket
impl Sync for QueryTicket
impl Unpin for QueryTicket
impl UnsafeUnpin for QueryTicket
impl UnwindSafe for QueryTicket
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