pub enum RehydratePriority {
High,
Standard,
UnknownValue(String),
}
Expand description
If an object is in rehydrate pending state then this header is returned with priority of rehydrate. Valid values are High and Standard.
Variants§
Implementations§
Source§impl RehydratePriority
impl RehydratePriority
pub fn serialize<__S>(
__self: &RehydratePriority,
__serializer: __S,
) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
Source§impl<'de> RehydratePriority
impl<'de> RehydratePriority
pub fn deserialize<__D>(
__deserializer: __D,
) -> Result<RehydratePriority, __D::Error>where
__D: Deserializer<'de>,
Trait Implementations§
Source§impl Clone for RehydratePriority
impl Clone for RehydratePriority
Source§fn clone(&self) -> RehydratePriority
fn clone(&self) -> RehydratePriority
Returns a copy 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 RehydratePriority
impl Debug for RehydratePriority
Source§impl<'de> Deserialize<'de> for RehydratePriority
impl<'de> Deserialize<'de> for RehydratePriority
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
Source§impl FromStr for RehydratePriority
impl FromStr for RehydratePriority
Source§impl PartialEq for RehydratePriority
impl PartialEq for RehydratePriority
Source§impl Serialize for RehydratePriority
impl Serialize for RehydratePriority
impl StructuralPartialEq for RehydratePriority
Auto Trait Implementations§
impl Freeze for RehydratePriority
impl RefUnwindSafe for RehydratePriority
impl Send for RehydratePriority
impl Sync for RehydratePriority
impl Unpin for RehydratePriority
impl UnwindSafe for RehydratePriority
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