#[repr(u8)]pub enum DistributionMethod {
ProRataSnapshot = 0,
ProRataCurrent = 1,
}Expand description
Distribution method
Variants§
Trait Implementations§
Source§impl Clone for DistributionMethod
impl Clone for DistributionMethod
Source§fn clone(&self) -> DistributionMethod
fn clone(&self) -> DistributionMethod
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 DistributionMethod
impl Debug for DistributionMethod
Source§impl<'de> Deserialize<'de> for DistributionMethod
impl<'de> Deserialize<'de> for DistributionMethod
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 DistributionMethod
impl Hash for DistributionMethod
Source§impl PartialEq for DistributionMethod
impl PartialEq for DistributionMethod
Source§fn eq(&self, other: &DistributionMethod) -> bool
fn eq(&self, other: &DistributionMethod) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DistributionMethod
impl Serialize for DistributionMethod
impl Copy for DistributionMethod
impl Eq for DistributionMethod
impl StructuralPartialEq for DistributionMethod
Auto Trait Implementations§
impl Freeze for DistributionMethod
impl RefUnwindSafe for DistributionMethod
impl Send for DistributionMethod
impl Sync for DistributionMethod
impl Unpin for DistributionMethod
impl UnsafeUnpin for DistributionMethod
impl UnwindSafe for DistributionMethod
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