pub struct Import {
pub name: &'static str,
pub path: &'static str,
}Expand description
Schema for an imported type.
Fields§
§name: &'static strThe short name used in the contract (e.g., SetU64).
path: &'static strThe full path to the type (e.g., my_crate::MyType).
Trait Implementations§
impl Copy for Import
Auto Trait Implementations§
impl Freeze for Import
impl RefUnwindSafe for Import
impl Send for Import
impl Sync for Import
impl Unpin for Import
impl UnsafeUnpin for Import
impl UnwindSafe for Import
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