#[non_exhaustive]pub enum PublicationKind {
Id,
Url,
}Expand description
The representation requested for a newly published resource. If the host cannot provide the requested form, it must reject before consuming the body or causing any remote side effect.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for PublicationKind
impl Clone for PublicationKind
impl Copy for PublicationKind
Source§impl Debug for PublicationKind
impl Debug for PublicationKind
impl Eq for PublicationKind
Source§impl PartialEq for PublicationKind
impl PartialEq for PublicationKind
impl StructuralPartialEq for PublicationKind
Auto Trait Implementations§
impl Freeze for PublicationKind
impl RefUnwindSafe for PublicationKind
impl Send for PublicationKind
impl Sync for PublicationKind
impl Unpin for PublicationKind
impl UnsafeUnpin for PublicationKind
impl UnwindSafe for PublicationKind
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