Enum bonsaidb_local::cli::schema::CollectionOrView
source · pub enum CollectionOrView {
View(ViewName),
Collection(CollectionName),
}
Expand description
A name that is either a [CollectionName
] or [ViewName
].
Variants§
Trait Implementations§
source§impl Clone for CollectionOrView
impl Clone for CollectionOrView
source§fn clone(&self) -> CollectionOrView
fn clone(&self) -> CollectionOrView
Returns a copy of the value. Read more
1.0.0 · 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 CollectionOrView
impl Debug for CollectionOrView
Auto Trait Implementations§
impl RefUnwindSafe for CollectionOrView
impl Send for CollectionOrView
impl Sync for CollectionOrView
impl Unpin for CollectionOrView
impl UnwindSafe for CollectionOrView
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