pub struct PartialCuTimeRange {
pub start: OptionCuTime,
pub end: OptionCuTime,
}
Expand description
Represents a time range with possible undefined start or end or both.
Fields§
§start: OptionCuTime
§end: OptionCuTime
Trait Implementations§
Source§impl<'__de> BorrowDecode<'__de> for PartialCuTimeRange
impl<'__de> BorrowDecode<'__de> for PartialCuTimeRange
Source§fn borrow_decode<__D: BorrowDecoder<'__de>>(
decoder: &mut __D,
) -> Result<Self, DecodeError>
fn borrow_decode<__D: BorrowDecoder<'__de>>( decoder: &mut __D, ) -> Result<Self, DecodeError>
Attempt to decode this type with the given BorrowDecode.
Source§impl Clone for PartialCuTimeRange
impl Clone for PartialCuTimeRange
Source§fn clone(&self) -> PartialCuTimeRange
fn clone(&self) -> PartialCuTimeRange
Returns a copy 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 PartialCuTimeRange
impl Debug for PartialCuTimeRange
Source§impl Decode for PartialCuTimeRange
impl Decode for PartialCuTimeRange
Source§impl Default for PartialCuTimeRange
impl Default for PartialCuTimeRange
Source§impl<'de> Deserialize<'de> for PartialCuTimeRange
impl<'de> Deserialize<'de> for PartialCuTimeRange
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 Encode for PartialCuTimeRange
impl Encode for PartialCuTimeRange
Source§impl Serialize for PartialCuTimeRange
impl Serialize for PartialCuTimeRange
impl Copy for PartialCuTimeRange
Auto Trait Implementations§
impl Freeze for PartialCuTimeRange
impl RefUnwindSafe for PartialCuTimeRange
impl Send for PartialCuTimeRange
impl Sync for PartialCuTimeRange
impl Unpin for PartialCuTimeRange
impl UnwindSafe for PartialCuTimeRange
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