pub enum ContentValidationCode {
Show 49 variants
ContentPlatformUnsupported,
ContentRootUnavailable,
PublicationFileMissing,
ContentNamespaceInvalid,
ContentEntryUnreadable,
UnsupportedFilenameEncoding,
InvalidLogicalContentPath,
UnexpectedPostEntry,
ContentSymlinkUnsupported,
UnsupportedContentEntryKind,
ContentTextInvalidUtf8,
AuthoredSvgUnsupported,
ContentFileTooLarge,
ContentTreeTooLarge,
ContentEntryLimitExceeded,
ContentDepthLimitExceeded,
ContentPathTooLong,
DuplicateLogicalAssetPath,
LogicalPathCaseCollision,
ContentEntryChanged,
PublicationTomlInvalid,
FrontmatterOpeningDelimiterMissing,
FrontmatterOpeningDelimiterMalformed,
FrontmatterClosingDelimiterMissing,
FrontmatterClosingDelimiterMalformed,
FrontmatterTomlInvalid,
RequiredFieldMissing,
InvalidFieldType,
UnknownField,
PublishedAtUnsupported,
TextEmpty,
TextContainsControl,
InvalidBaseUrl,
InvalidPostId,
InvalidPostSlug,
InvalidPostTag,
InvalidPostAlias,
DatetimeOffsetRequired,
DatetimeInvalid,
UpdatedAtBeforeAuthoredAt,
DuplicateTag,
AliasMatchesSlug,
DuplicatePostId,
DuplicatePostSlug,
DuplicatePostAlias,
DuplicatePostRoute,
DraftDirectoryConflict,
PostCollectionPathMismatch,
InternalValidationInvariant,
}Variants§
ContentPlatformUnsupported
PublicationFileMissing
ContentNamespaceInvalid
ContentEntryUnreadable
UnsupportedFilenameEncoding
InvalidLogicalContentPath
UnexpectedPostEntry
ContentSymlinkUnsupported
UnsupportedContentEntryKind
ContentTextInvalidUtf8
AuthoredSvgUnsupported
ContentFileTooLarge
ContentTreeTooLarge
ContentEntryLimitExceeded
ContentDepthLimitExceeded
ContentPathTooLong
DuplicateLogicalAssetPath
LogicalPathCaseCollision
ContentEntryChanged
PublicationTomlInvalid
FrontmatterOpeningDelimiterMissing
FrontmatterOpeningDelimiterMalformed
FrontmatterClosingDelimiterMissing
FrontmatterClosingDelimiterMalformed
FrontmatterTomlInvalid
RequiredFieldMissing
InvalidFieldType
UnknownField
PublishedAtUnsupported
TextEmpty
TextContainsControl
InvalidBaseUrl
InvalidPostId
InvalidPostSlug
InvalidPostTag
InvalidPostAlias
DatetimeOffsetRequired
DatetimeInvalid
UpdatedAtBeforeAuthoredAt
DuplicateTag
AliasMatchesSlug
DuplicatePostId
DuplicatePostSlug
DuplicatePostAlias
DuplicatePostRoute
DraftDirectoryConflict
PostCollectionPathMismatch
InternalValidationInvariant
Trait Implementations§
Source§impl Clone for ContentValidationCode
impl Clone for ContentValidationCode
impl Copy for ContentValidationCode
Source§impl Debug for ContentValidationCode
impl Debug for ContentValidationCode
Source§impl<'de> Deserialize<'de> for ContentValidationCode
impl<'de> Deserialize<'de> for ContentValidationCode
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 ContentValidationCode
Source§impl Ord for ContentValidationCode
impl Ord for ContentValidationCode
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ContentValidationCode
impl PartialEq for ContentValidationCode
Source§impl PartialOrd for ContentValidationCode
impl PartialOrd for ContentValidationCode
Source§impl Serialize for ContentValidationCode
impl Serialize for ContentValidationCode
impl StructuralPartialEq for ContentValidationCode
Auto Trait Implementations§
impl Freeze for ContentValidationCode
impl RefUnwindSafe for ContentValidationCode
impl Send for ContentValidationCode
impl Sync for ContentValidationCode
impl Unpin for ContentValidationCode
impl UnsafeUnpin for ContentValidationCode
impl UnwindSafe for ContentValidationCode
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