pub struct TimeOfDaySpec {
pub time_of_day: u16,
pub time_speed: Option<f32>,
}
Fields§
§time_of_day: u16
§time_speed: Option<f32>
Trait Implementations§
Source§impl Clone for TimeOfDaySpec
impl Clone for TimeOfDaySpec
Source§fn clone(&self) -> TimeOfDaySpec
fn clone(&self) -> TimeOfDaySpec
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TimeOfDaySpec
impl Debug for TimeOfDaySpec
Source§impl Deserialize for TimeOfDaySpec
impl Deserialize for TimeOfDaySpec
Source§type Output = TimeOfDaySpec
type Output = TimeOfDaySpec
Output should be Self, except for wrapper types.
fn deserialize(deser: &mut Deserializer<'_>) -> DeserializeResult<Self>
Source§impl From<TimeOfDaySpec> for ToClientCommand
impl From<TimeOfDaySpec> for ToClientCommand
Source§fn from(value: TimeOfDaySpec) -> Self
fn from(value: TimeOfDaySpec) -> Self
Converts to this type from the input type.
Source§impl PartialEq for TimeOfDaySpec
impl PartialEq for TimeOfDaySpec
Source§impl Serialize for TimeOfDaySpec
impl Serialize for TimeOfDaySpec
type Input = TimeOfDaySpec
fn serialize<S: Serializer>(value: &Self::Input, ser: &mut S) -> SerializeResult
impl StructuralPartialEq for TimeOfDaySpec
Auto Trait Implementations§
impl Freeze for TimeOfDaySpec
impl RefUnwindSafe for TimeOfDaySpec
impl Send for TimeOfDaySpec
impl Sync for TimeOfDaySpec
impl Unpin for TimeOfDaySpec
impl UnwindSafe for TimeOfDaySpec
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