pub enum RotationType {
NEVER,
DAILY,
WEEKLY,
MONTHLY,
YEARLY,
}
Variants
NEVER
DAILY
WEEKLY
MONTHLY
YEARLY
Implementations
sourceimpl RotationType
impl RotationType
pub fn write_to_out_protocol(
&self,
o_prot: &mut dyn TOutputProtocol
) -> Result<()>
pub fn read_from_in_protocol(
i_prot: &mut dyn TInputProtocol
) -> Result<RotationType>
Trait Implementations
sourceimpl Clone for RotationType
impl Clone for RotationType
sourcefn clone(&self) -> RotationType
fn clone(&self) -> RotationType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for RotationType
impl Debug for RotationType
sourceimpl Hash for RotationType
impl Hash for RotationType
sourceimpl Ord for RotationType
impl Ord for RotationType
sourcefn cmp(&self, other: &RotationType) -> Ordering
fn cmp(&self, other: &RotationType) -> Ordering
1.21.0 · sourcefn 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
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<RotationType> for RotationType
impl PartialEq<RotationType> for RotationType
sourcefn eq(&self, other: &RotationType) -> bool
fn eq(&self, other: &RotationType) -> bool
sourceimpl PartialOrd<RotationType> for RotationType
impl PartialOrd<RotationType> for RotationType
sourcefn partial_cmp(&self, other: &RotationType) -> Option<Ordering>
fn partial_cmp(&self, other: &RotationType) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresourceimpl TryFrom<i32> for RotationType
impl TryFrom<i32> for RotationType
impl Copy for RotationType
impl Eq for RotationType
impl StructuralEq for RotationType
impl StructuralPartialEq for RotationType
Auto Trait Implementations
impl RefUnwindSafe for RotationType
impl Send for RotationType
impl Sync for RotationType
impl Unpin for RotationType
impl UnwindSafe for RotationType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more