pub struct TestOperation {
pub id: u32,
pub author: char,
pub dependencies: Vec<u32>,
pub previous: Vec<u32>,
pub payload: GroupControlMessage<char, ()>,
}Fields§
§id: u32§dependencies: Vec<u32>§previous: Vec<u32>§payload: GroupControlMessage<char, ()>Trait Implementations§
Source§impl Clone for TestOperation
impl Clone for TestOperation
Source§fn clone(&self) -> TestOperation
fn clone(&self) -> TestOperation
Returns a duplicate 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 TestOperation
impl Debug for TestOperation
Source§impl Operation<char, u32, GroupControlMessage<char, ()>> for TestOperation
impl Operation<char, u32, GroupControlMessage<char, ()>> for TestOperation
ID of the author of this operation.
Source§fn dependencies(&self) -> Vec<u32>
fn dependencies(&self) -> Vec<u32>
Other operation dependencies.
Auto Trait Implementations§
impl Freeze for TestOperation
impl RefUnwindSafe for TestOperation
impl Send for TestOperation
impl Sync for TestOperation
impl Unpin for TestOperation
impl UnwindSafe for TestOperation
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