pub enum ModelSubType {
Application,
Request,
Response,
}Expand description
Model subtypes for organizing data structures
Variants§
Application
Application model for internal use
Request
Request model for input validation
Response
Response model for API responses
Trait Implementations§
Source§impl Clone for ModelSubType
impl Clone for ModelSubType
Source§fn clone(&self) -> ModelSubType
fn clone(&self) -> ModelSubType
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 ModelSubType
impl Debug for ModelSubType
Source§impl FromStr for ModelSubType
impl FromStr for ModelSubType
Source§impl PartialEq for ModelSubType
impl PartialEq for ModelSubType
Source§fn eq(&self, other: &ModelSubType) -> bool
fn eq(&self, other: &ModelSubType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ModelSubType
impl Eq for ModelSubType
impl StructuralPartialEq for ModelSubType
Auto Trait Implementations§
impl Freeze for ModelSubType
impl RefUnwindSafe for ModelSubType
impl Send for ModelSubType
impl Sync for ModelSubType
impl Unpin for ModelSubType
impl UnsafeUnpin for ModelSubType
impl UnwindSafe for ModelSubType
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