pub enum AssetReferenceLocation {
ContentSource,
AllowedOrigin {
ordinal: AllowedOriginOrdinal,
},
PublicationFavicon,
PublicationImage,
PostPreviewImage,
Markdown {
ordinal: MarkdownDestinationOrdinal,
destination_kind: MarkdownDestinationKind,
},
LocalAsset,
}Variants§
ContentSource
AllowedOrigin
Fields
§
ordinal: AllowedOriginOrdinalPublicationFavicon
PublicationImage
PostPreviewImage
Markdown
LocalAsset
Trait Implementations§
Source§impl Clone for AssetReferenceLocation
impl Clone for AssetReferenceLocation
impl Copy for AssetReferenceLocation
Source§impl Debug for AssetReferenceLocation
impl Debug for AssetReferenceLocation
impl Eq for AssetReferenceLocation
Source§impl Ord for AssetReferenceLocation
impl Ord for AssetReferenceLocation
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 AssetReferenceLocation
impl PartialEq for AssetReferenceLocation
Source§impl PartialOrd for AssetReferenceLocation
impl PartialOrd for AssetReferenceLocation
Source§impl Serialize for AssetReferenceLocation
impl Serialize for AssetReferenceLocation
impl StructuralPartialEq for AssetReferenceLocation
Auto Trait Implementations§
impl Freeze for AssetReferenceLocation
impl RefUnwindSafe for AssetReferenceLocation
impl Send for AssetReferenceLocation
impl Sync for AssetReferenceLocation
impl Unpin for AssetReferenceLocation
impl UnsafeUnpin for AssetReferenceLocation
impl UnwindSafe for AssetReferenceLocation
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