pub enum HeaderPosition {
AboveBody,
AboveImage,
NotSupported(String),
}Expand description
The position of the header relative to the body and image in a retention message.
Variants§
AboveBody
The header appears above the body text.
AboveImage
The header appears above the image.
NotSupported(String)
A value the App Store sent that this version of the library does not support, preserved as received.
Trait Implementations§
Source§impl Clone for HeaderPosition
impl Clone for HeaderPosition
Source§fn clone(&self) -> HeaderPosition
fn clone(&self) -> HeaderPosition
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 HeaderPosition
impl Debug for HeaderPosition
Source§impl<'de> Deserialize<'de> for HeaderPosition
impl<'de> Deserialize<'de> for HeaderPosition
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 HeaderPosition
Source§impl Hash for HeaderPosition
impl Hash for HeaderPosition
Source§impl PartialEq for HeaderPosition
impl PartialEq for HeaderPosition
Source§impl Serialize for HeaderPosition
impl Serialize for HeaderPosition
impl StructuralPartialEq for HeaderPosition
Auto Trait Implementations§
impl Freeze for HeaderPosition
impl RefUnwindSafe for HeaderPosition
impl Send for HeaderPosition
impl Sync for HeaderPosition
impl Unpin for HeaderPosition
impl UnsafeUnpin for HeaderPosition
impl UnwindSafe for HeaderPosition
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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