Skip to main content

Schedule

Struct Schedule 

Source
pub struct Schedule {
    pub act_schd: ActSchd,
    pub mod_ena: ModEna,
    pub n_schd: u16,
    pub n_pts: u16,
    pub repeating: Vec<Repeating>,
}
Available on crate feature model133 only.
Expand description

Basic Scheduling

Basic Scheduling

Detail: Ref 2: 2.2.8

Fields§

§act_schd: ActSchd

ActSchd

Bitfield of active schedules

§mod_ena: ModEna

ModEna

Is basic scheduling active.

§n_schd: u16

NSchd

Number of schedules supported (recommend min. 4, max 32)

§n_pts: u16

NPts

Number of schedule entries supported (maximum of 10).

§repeating: Vec<Repeating>

Implementations§

Source§

impl Schedule

Source

pub const ACT_SCHD: Point<Self, ActSchd>

Source

pub const MOD_ENA: Point<Self, ModEna>

Source

pub const N_SCHD: Point<Self, u16>

Source

pub const N_PTS: Point<Self, u16>

Trait Implementations§

Source§

impl Debug for Schedule

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Group for Schedule

Source§

const LEN: u16 = 6

Group length (without nested and repeating groups)
Source§

impl Model for Schedule

Source§

const ID: u16 = 133

Model ID
Source§

fn addr(models: &Models) -> ModelAddr<Self>

Get model address from discovered models struct
Source§

fn parse(data: &[u16]) -> Result<Self, ParseError<Self>>

Parse model data from a given u16 slice

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.