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
source§impl FromStr for CollectionOrView
impl FromStr for CollectionOrView
§type Err = InvalidNameError
type Err = InvalidNameError
The associated error which can be returned from parsing.
source§fn from_str(
s: &str
) -> Result<CollectionOrView, <CollectionOrView as FromStr>::Err>
fn from_str( s: &str ) -> Result<CollectionOrView, <CollectionOrView as FromStr>::Err>
Parses a string
s
to return a value of this type. Read moreAuto Trait Implementations§
impl RefUnwindSafe for CollectionOrView
impl Send for CollectionOrView
impl Sync for CollectionOrView
impl Unpin for CollectionOrView
impl UnwindSafe for CollectionOrView
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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