#[repr(i32)]pub enum DayOfWeek {
Unspecified = 0,
Monday = 1,
Tuesday = 2,
Wednesday = 3,
Thursday = 4,
Friday = 5,
Saturday = 6,
Sunday = 7,
}
Expand description
Represents a day of week.
Variants§
Unspecified = 0
The unspecified day-of-week.
Monday = 1
The day-of-week of Monday.
Tuesday = 2
The day-of-week of Tuesday.
Wednesday = 3
The day-of-week of Wednesday.
Thursday = 4
The day-of-week of Thursday.
Friday = 5
The day-of-week of Friday.
Saturday = 6
The day-of-week of Saturday.
Sunday = 7
The day-of-week of Sunday.
Implementations§
Trait Implementations§
Source§impl Ord for DayOfWeek
impl Ord for DayOfWeek
Source§impl PartialOrd for DayOfWeek
impl PartialOrd for DayOfWeek
impl Copy for DayOfWeek
impl Eq for DayOfWeek
impl StructuralPartialEq for DayOfWeek
Auto Trait Implementations§
impl Freeze for DayOfWeek
impl RefUnwindSafe for DayOfWeek
impl Send for DayOfWeek
impl Sync for DayOfWeek
impl Unpin for DayOfWeek
impl UnwindSafe for DayOfWeek
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request