pub struct CardEntry<T: GetCardInfo + Clone> {
pub card: T,
pub amount: i64,
}Fields§
§card: T§amount: i64Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for CardEntry<T>where
T: Freeze,
impl<T> RefUnwindSafe for CardEntry<T>where
T: RefUnwindSafe,
impl<T> Send for CardEntry<T>where
T: Send,
impl<T> Sync for CardEntry<T>where
T: Sync,
impl<T> Unpin for CardEntry<T>where
T: Unpin,
impl<T> UnwindSafe for CardEntry<T>where
T: 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