pub struct SubmissionId {
pub queue: QueueId,
pub index: usize,
}
Expand description
Submission id.
Fields§
§queue: QueueId
Queue id of the submission.
index: usize
Index of the queue.
Implementations§
Trait Implementations§
Source§impl Clone for SubmissionId
impl Clone for SubmissionId
Source§fn clone(&self) -> SubmissionId
fn clone(&self) -> SubmissionId
Returns a copy of the value. Read more
1.0.0 · 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 SubmissionId
impl Debug for SubmissionId
Source§impl Hash for SubmissionId
impl Hash for SubmissionId
Source§impl<S> Index<SubmissionId> for Schedule<S>
impl<S> Index<SubmissionId> for Schedule<S>
Source§type Output = Submission<S>
type Output = Submission<S>
The returned type after indexing.
Source§fn index(&self, sid: SubmissionId) -> &Submission<S>
fn index(&self, sid: SubmissionId) -> &Submission<S>
Performs the indexing (
container[index]
) operation. Read moreSource§impl<S> IndexMut<SubmissionId> for Schedule<S>
impl<S> IndexMut<SubmissionId> for Schedule<S>
Source§fn index_mut(&mut self, sid: SubmissionId) -> &mut Submission<S>
fn index_mut(&mut self, sid: SubmissionId) -> &mut Submission<S>
Performs the mutable indexing (
container[index]
) operation. Read moreSource§impl PartialEq for SubmissionId
impl PartialEq for SubmissionId
impl Copy for SubmissionId
impl Eq for SubmissionId
impl StructuralPartialEq for SubmissionId
Auto Trait Implementations§
impl Freeze for SubmissionId
impl RefUnwindSafe for SubmissionId
impl Send for SubmissionId
impl Sync for SubmissionId
impl Unpin for SubmissionId
impl UnwindSafe for SubmissionId
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)