pub struct WeekProfile {
pub week_profile_name: Vec<u8>,
pub monday: u8,
pub tuesday: u8,
pub wednesday: u8,
pub thursday: u8,
pub friday: u8,
pub saturday: u8,
pub sunday: u8,
}Expand description
week_profile — structure { week_profile_name, monday..sunday: day_id }
Used in Activity Calendar (attr 4/8).
Fields§
§week_profile_name: Vec<u8>Week profile name.
monday: u8Day profile ID for Monday.
tuesday: u8Day profile ID for Tuesday.
wednesday: u8Day profile ID for Wednesday.
thursday: u8Day profile ID for Thursday.
friday: u8Day profile ID for Friday.
saturday: u8Day profile ID for Saturday.
sunday: u8Day profile ID for Sunday.
Trait Implementations§
Source§impl Clone for WeekProfile
impl Clone for WeekProfile
Source§fn clone(&self) -> WeekProfile
fn clone(&self) -> WeekProfile
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 WeekProfile
impl Debug for WeekProfile
Source§impl<'de> Deserialize<'de> for WeekProfile
impl<'de> Deserialize<'de> for WeekProfile
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
impl Eq for WeekProfile
Source§impl From<WeekProfile> for CosemDataType
impl From<WeekProfile> for CosemDataType
Source§fn from(wp: WeekProfile) -> Self
fn from(wp: WeekProfile) -> Self
Converts to this type from the input type.
Source§impl PartialEq for WeekProfile
impl PartialEq for WeekProfile
Source§impl Serialize for WeekProfile
impl Serialize for WeekProfile
impl StructuralPartialEq for WeekProfile
Source§impl TryFrom<&CosemDataType> for WeekProfile
impl TryFrom<&CosemDataType> for WeekProfile
Auto Trait Implementations§
impl Freeze for WeekProfile
impl RefUnwindSafe for WeekProfile
impl Send for WeekProfile
impl Sync for WeekProfile
impl Unpin for WeekProfile
impl UnsafeUnpin for WeekProfile
impl UnwindSafe for WeekProfile
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