Struct PartialCuTimeRange
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§
§impl<'__de> BorrowDecode<'__de> for PartialCuTimeRange
impl<'__de> BorrowDecode<'__de> for PartialCuTimeRange
§fn borrow_decode<__D>(
decoder: &mut __D,
) -> Result<PartialCuTimeRange, DecodeError>where
__D: BorrowDecoder<'__de>,
fn borrow_decode<__D>(
decoder: &mut __D,
) -> Result<PartialCuTimeRange, DecodeError>where
__D: BorrowDecoder<'__de>,
Attempt to decode this type with the given BorrowDecode.
§impl Clone for PartialCuTimeRange
impl Clone for PartialCuTimeRange
§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 more§impl Debug for PartialCuTimeRange
impl Debug for PartialCuTimeRange
§impl Decode for PartialCuTimeRange
impl Decode for PartialCuTimeRange
§fn decode<__D>(decoder: &mut __D) -> Result<PartialCuTimeRange, DecodeError>where
__D: Decoder,
fn decode<__D>(decoder: &mut __D) -> Result<PartialCuTimeRange, DecodeError>where
__D: Decoder,
Attempt to decode this type with the given Decode.
§impl Default for PartialCuTimeRange
impl Default for PartialCuTimeRange
§fn default() -> PartialCuTimeRange
fn default() -> PartialCuTimeRange
Returns the “default value” for a type. Read more
§impl<'de> Deserialize<'de> for PartialCuTimeRange
impl<'de> Deserialize<'de> for PartialCuTimeRange
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PartialCuTimeRange, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PartialCuTimeRange, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Encode for PartialCuTimeRange
impl Encode for PartialCuTimeRange
§impl Serialize for PartialCuTimeRange
impl Serialize for PartialCuTimeRange
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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