Struct mpl_core::Collection
source · pub struct Collection {
pub base: BaseCollectionV1,
pub plugin_list: PluginsList,
pub external_plugin_adapter_list: ExternalPluginAdaptersList,
pub plugin_header: Option<PluginHeaderV1>,
}Fields§
§base: BaseCollectionV1§plugin_list: PluginsList§external_plugin_adapter_list: ExternalPluginAdaptersList§plugin_header: Option<PluginHeaderV1>Implementations§
source§impl Collection
impl Collection
Trait Implementations§
source§impl Debug for Collection
impl Debug for Collection
source§impl<'a> TryFrom<&AccountInfo<'a>> for Box<Collection>
impl<'a> TryFrom<&AccountInfo<'a>> for Box<Collection>
Auto Trait Implementations§
impl Freeze for Collection
impl RefUnwindSafe for Collection
impl Send for Collection
impl Sync for Collection
impl Unpin for Collection
impl UnwindSafe for Collection
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
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more