pub trait NFTListObject {
// Required methods
fn new(owner_id: ObjectId, nft_list: Vec<FileDesc>) -> Self;
fn nft_list(&self) -> &Vec<FileDesc> ⓘ;
fn into_nft_list(self) -> Vec<FileDesc> ⓘ;
}Required Methods§
fn new(owner_id: ObjectId, nft_list: Vec<FileDesc>) -> Self
fn nft_list(&self) -> &Vec<FileDesc> ⓘ
fn into_nft_list(self) -> Vec<FileDesc> ⓘ
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.