#[repr(i32)]pub enum PbTimeFormat {
TimeFormat24h = 1,
TimeFormat12h = 2,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for PbTimeFormat
impl Clone for PbTimeFormat
Source§fn clone(&self) -> PbTimeFormat
fn clone(&self) -> PbTimeFormat
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 PbTimeFormat
impl Debug for PbTimeFormat
Source§impl Default for PbTimeFormat
impl Default for PbTimeFormat
Source§fn default() -> PbTimeFormat
fn default() -> PbTimeFormat
Returns the “default value” for a type. Read more
Source§impl From<PbTimeFormat> for i32
impl From<PbTimeFormat> for i32
Source§fn from(value: PbTimeFormat) -> i32
fn from(value: PbTimeFormat) -> i32
Converts to this type from the input type.
Source§impl Hash for PbTimeFormat
impl Hash for PbTimeFormat
Source§impl Ord for PbTimeFormat
impl Ord for PbTimeFormat
Source§fn cmp(&self, other: &PbTimeFormat) -> Ordering
fn cmp(&self, other: &PbTimeFormat) -> 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 PbTimeFormat
impl PartialEq for PbTimeFormat
Source§impl PartialOrd for PbTimeFormat
impl PartialOrd for PbTimeFormat
impl Copy for PbTimeFormat
impl Eq for PbTimeFormat
impl StructuralPartialEq for PbTimeFormat
Auto Trait Implementations§
impl Freeze for PbTimeFormat
impl RefUnwindSafe for PbTimeFormat
impl Send for PbTimeFormat
impl Sync for PbTimeFormat
impl Unpin for PbTimeFormat
impl UnwindSafe for PbTimeFormat
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