pub enum ModelLayer {
Module(String),
Administrator,
User,
}Expand description
A layer of the model, from the lowest to the highest. The highest to set a value wins.
Variants§
Module(String)
What a module adds, by its name; modules stack in the order they first appear.
Administrator
What the administrator of an installation set.
User
What the person using the application set.
Trait Implementations§
Source§impl Clone for ModelLayer
impl Clone for ModelLayer
Source§fn clone(&self) -> ModelLayer
fn clone(&self) -> ModelLayer
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 ModelLayer
impl Debug for ModelLayer
impl Eq for ModelLayer
Source§impl PartialEq for ModelLayer
impl PartialEq for ModelLayer
impl StructuralPartialEq for ModelLayer
Auto Trait Implementations§
impl Freeze for ModelLayer
impl RefUnwindSafe for ModelLayer
impl Send for ModelLayer
impl Sync for ModelLayer
impl Unpin for ModelLayer
impl UnsafeUnpin for ModelLayer
impl UnwindSafe for ModelLayer
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