#[non_exhaustive]pub enum CarouselObject {
Directory(DirectoryObjectData),
File(FileObjectData),
}Expand description
One object parsed from a carousel module.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Directory(DirectoryObjectData)
A Directory or ServiceGateway object.
File(FileObjectData)
A File object.
Trait Implementations§
Source§impl Clone for CarouselObject
impl Clone for CarouselObject
Source§fn clone(&self) -> CarouselObject
fn clone(&self) -> CarouselObject
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 CarouselObject
impl Debug for CarouselObject
impl Eq for CarouselObject
Source§impl PartialEq for CarouselObject
impl PartialEq for CarouselObject
Source§fn eq(&self, other: &CarouselObject) -> bool
fn eq(&self, other: &CarouselObject) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CarouselObject
Auto Trait Implementations§
impl Freeze for CarouselObject
impl RefUnwindSafe for CarouselObject
impl Send for CarouselObject
impl Sync for CarouselObject
impl Unpin for CarouselObject
impl UnsafeUnpin for CarouselObject
impl UnwindSafe for CarouselObject
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