pub struct StreamsTaskAssignment {
pub task: StreamsTaskId,
pub role: StreamsTaskRole,
}Expand description
A task and its currently reconciled role.
Fields§
§task: StreamsTaskIdCanonical task identity.
role: StreamsTaskRoleRole currently held by the task.
Trait Implementations§
Source§impl Clone for StreamsTaskAssignment
impl Clone for StreamsTaskAssignment
Source§fn clone(&self) -> StreamsTaskAssignment
fn clone(&self) -> StreamsTaskAssignment
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 StreamsTaskAssignment
impl Debug for StreamsTaskAssignment
impl Eq for StreamsTaskAssignment
Source§impl PartialEq for StreamsTaskAssignment
impl PartialEq for StreamsTaskAssignment
impl StructuralPartialEq for StreamsTaskAssignment
Auto Trait Implementations§
impl Freeze for StreamsTaskAssignment
impl RefUnwindSafe for StreamsTaskAssignment
impl Send for StreamsTaskAssignment
impl Sync for StreamsTaskAssignment
impl Unpin for StreamsTaskAssignment
impl UnsafeUnpin for StreamsTaskAssignment
impl UnwindSafe for StreamsTaskAssignment
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