pub enum AbsenceReason {
Show 16 variants
Missing,
WrongType,
TooLong,
ControlCharacter,
NotInVocabulary,
DuplicateItem,
TooManyItems,
OutOfBounds,
InvalidDate,
VocabularyUnavailable,
SourceUnavailable,
ScreenBlocked,
ScreenUnavailable,
RequestFailed {
reason: RequestFailure,
},
FallbackNoMatch,
FallbackInvalid,
}Variants§
Missing
WrongType
TooLong
ControlCharacter
NotInVocabulary
DuplicateItem
TooManyItems
OutOfBounds
InvalidDate
ScreenBlocked
RequestFailed
Fields
§
reason: RequestFailureFallbackNoMatch
FallbackInvalid
Trait Implementations§
Source§impl Clone for AbsenceReason
impl Clone for AbsenceReason
Source§impl Debug for AbsenceReason
impl Debug for AbsenceReason
Source§impl<'de> Deserialize<'de> for AbsenceReason
impl<'de> Deserialize<'de> for AbsenceReason
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for AbsenceReason
Source§impl JsonSchema for AbsenceReason
impl JsonSchema for AbsenceReason
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for AbsenceReason
impl PartialEq for AbsenceReason
Source§impl Serialize for AbsenceReason
impl Serialize for AbsenceReason
impl StructuralPartialEq for AbsenceReason
Auto Trait Implementations§
impl Freeze for AbsenceReason
impl RefUnwindSafe for AbsenceReason
impl Send for AbsenceReason
impl Sync for AbsenceReason
impl Unpin for AbsenceReason
impl UnsafeUnpin for AbsenceReason
impl UnwindSafe for AbsenceReason
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