pub struct Operation<E = ()> {
pub hash: Hash,
pub header: Header<E>,
pub body: Option<Body>,
}Fields§
§hash: Hash§header: Header<E>§body: Option<Body>Trait Implementations§
Source§impl<E> Ord for Operation<E>
impl<E> Ord for Operation<E>
Source§impl<E> PartialOrd for Operation<E>
impl<E> PartialOrd for Operation<E>
impl<E> Eq for Operation<E>
Auto Trait Implementations§
impl<E> Freeze for Operation<E>where
E: Freeze,
impl<E> RefUnwindSafe for Operation<E>where
E: RefUnwindSafe,
impl<E> Send for Operation<E>where
E: Send,
impl<E> Sync for Operation<E>where
E: Sync,
impl<E> Unpin for Operation<E>where
E: Unpin,
impl<E> UnwindSafe for Operation<E>where
E: UnwindSafe,
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