pub struct DayPart {
pub day: Day,
pub part: Part,
pub name: Option<String>,
}
Fields§
§day: Day
§part: Part
§name: Option<String>
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DayPart
impl<'de> Deserialize<'de> for DayPart
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 FromIterator<DayPart> for DayPartsBuilder
impl FromIterator<DayPart> for DayPartsBuilder
Source§impl Ord for DayPart
impl Ord for DayPart
Source§impl PartialOrd for DayPart
impl PartialOrd for DayPart
impl Eq for DayPart
impl StructuralPartialEq for DayPart
Auto Trait Implementations§
impl Freeze for DayPart
impl RefUnwindSafe for DayPart
impl Send for DayPart
impl Sync for DayPart
impl Unpin for DayPart
impl UnwindSafe for DayPart
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