pub enum CollectionInstance {
Nest(NestCollection),
Custom(CustomCollection),
}Variants§
Nest(NestCollection)
Custom(CustomCollection)
Implementations§
Source§impl CollectionInstance
impl CollectionInstance
pub fn get_schematics(&self) -> Vec<Schematic>
pub fn execute_command( &self, name: &str, options: &[SchematicOption], ) -> Result<String, String>
Trait Implementations§
Source§impl Clone for CollectionInstance
impl Clone for CollectionInstance
Source§fn clone(&self) -> CollectionInstance
fn clone(&self) -> CollectionInstance
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CollectionInstance
impl Debug for CollectionInstance
Source§impl PartialEq for CollectionInstance
impl PartialEq for CollectionInstance
Source§fn eq(&self, other: &CollectionInstance) -> bool
fn eq(&self, other: &CollectionInstance) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for CollectionInstance
impl StructuralPartialEq for CollectionInstance
Auto Trait Implementations§
impl Freeze for CollectionInstance
impl RefUnwindSafe for CollectionInstance
impl Send for CollectionInstance
impl Sync for CollectionInstance
impl Unpin for CollectionInstance
impl UnsafeUnpin for CollectionInstance
impl UnwindSafe for CollectionInstance
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.