#[non_exhaustive]pub enum PayloadExtension {
Custom(Binary),
}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 PayloadExtension
impl Clone for PayloadExtension
Source§fn clone(&self) -> PayloadExtension
fn clone(&self) -> PayloadExtension
Returns a duplicate of the value. Read more
1.0.0 · 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 PayloadExtension
impl Debug for PayloadExtension
Source§impl PartialEq for PayloadExtension
impl PartialEq for PayloadExtension
impl StructuralPartialEq for PayloadExtension
Auto Trait Implementations§
impl Freeze for PayloadExtension
impl RefUnwindSafe for PayloadExtension
impl Send for PayloadExtension
impl Sync for PayloadExtension
impl Unpin for PayloadExtension
impl UnwindSafe for PayloadExtension
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