pub struct Transfer {
pub slot_id: u8,
pub amount: u64,
}Fields§
§slot_id: u8§amount: u64Trait Implementations§
Source§impl BorshDeserialize for Transfer
impl BorshDeserialize for Transfer
Source§impl BorshSerialize for Transfer
impl BorshSerialize for Transfer
impl Eq for Transfer
impl StructuralPartialEq for Transfer
Auto Trait Implementations§
impl Freeze for Transfer
impl RefUnwindSafe for Transfer
impl Send for Transfer
impl Sync for Transfer
impl Unpin for Transfer
impl UnwindSafe for Transfer
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