pub enum PinStrategy {
Unlimited,
MaxCount(u32),
}Variants§
Trait Implementations§
Source§impl Clone for PinStrategy
impl Clone for PinStrategy
Source§fn clone(&self) -> PinStrategy
fn clone(&self) -> PinStrategy
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 PinStrategy
impl Debug for PinStrategy
Source§impl Default for PinStrategy
impl Default for PinStrategy
Source§fn default() -> PinStrategy
fn default() -> PinStrategy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PinStrategy
impl<'de> Deserialize<'de> for PinStrategy
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 Hash for PinStrategy
impl Hash for PinStrategy
Source§impl Ord for PinStrategy
impl Ord for PinStrategy
Source§fn cmp(&self, other: &PinStrategy) -> Ordering
fn cmp(&self, other: &PinStrategy) -> Ordering
1.21.0 · 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
Source§impl PartialEq for PinStrategy
impl PartialEq for PinStrategy
Source§impl PartialOrd for PinStrategy
impl PartialOrd for PinStrategy
Source§impl Serialize for PinStrategy
impl Serialize for PinStrategy
impl Eq for PinStrategy
impl StructuralPartialEq for PinStrategy
Auto Trait Implementations§
impl Freeze for PinStrategy
impl RefUnwindSafe for PinStrategy
impl Send for PinStrategy
impl Sync for PinStrategy
impl Unpin for PinStrategy
impl UnsafeUnpin for PinStrategy
impl UnwindSafe for PinStrategy
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more