pub struct DayProfile {
pub day_id: u8,
pub day_schedule: Vec<DayProfileAction>,
}Expand description
day_profile — structure { day_id, day_schedule: array day_profile_action }
Used in Activity Calendar (attr 5/9).
Fields§
§day_id: u8Day profile identifier.
day_schedule: Vec<DayProfileAction>Ordered list of day schedule actions.
Trait Implementations§
Source§impl Clone for DayProfile
impl Clone for DayProfile
Source§fn clone(&self) -> DayProfile
fn clone(&self) -> DayProfile
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DayProfile
impl Debug for DayProfile
Source§impl<'de> Deserialize<'de> for DayProfile
impl<'de> Deserialize<'de> for DayProfile
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 From<DayProfile> for CosemDataType
impl From<DayProfile> for CosemDataType
Source§fn from(dp: DayProfile) -> Self
fn from(dp: DayProfile) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DayProfile
impl PartialEq for DayProfile
Source§impl Serialize for DayProfile
impl Serialize for DayProfile
impl StructuralPartialEq for DayProfile
Source§impl TryFrom<&CosemDataType> for DayProfile
impl TryFrom<&CosemDataType> for DayProfile
Auto Trait Implementations§
impl Freeze for DayProfile
impl RefUnwindSafe for DayProfile
impl Send for DayProfile
impl Sync for DayProfile
impl Unpin for DayProfile
impl UnsafeUnpin for DayProfile
impl UnwindSafe for DayProfile
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