pub struct Wechsel { /* private fields */ }spri and wbci only.Expand description
One provider switch: a WBCI pre-agreement and the S/PRI orders carrying its id.
Implementations§
Source§impl Wechsel
impl Wechsel
Sourcepub const fn new(wbci: Process) -> Self
pub const fn new(wbci: Process) -> Self
A switch of the pre-agreement wbci, with no S/PRI order yet.
Sourcepub const fn vorabstimmungs_id(&self) -> &VorabstimmungsId
pub const fn vorabstimmungs_id(&self) -> &VorabstimmungsId
The Vorabstimmungs-ID of the switch.
Sourcepub fn spri(&self) -> &[Process]
pub fn spri(&self) -> &[Process]
The attached S/PRI processes, in the order they were attached.
Sourcepub fn spri_mut(&mut self) -> &mut [Process]
pub fn spri_mut(&mut self) -> &mut [Process]
The attached S/PRI processes, to apply further events.
Sourcepub fn wechseltermin(&self) -> Option<Date>
pub fn wechseltermin(&self) -> Option<Date>
The agreed switch date: the RUEM-VA’s, moved by every accepted postponement; after a cancellation, the last date that was agreed.
Sourcepub fn timeline(&self) -> Vec<Eintrag>
pub fn timeline(&self) -> Vec<Eintrag>
Every event of both interfaces, in time order (stable: WBCI first, then the S/PRI processes in the order attached). An event recorded by two attached views of the same order (e.g. the Auftraggeber’s and the network owner’s) appears once.
Sourcepub fn befunde(&self) -> Vec<Befund>
pub fn befunde(&self) -> Vec<Befund>
Where the two interfaces disagree, by the rules of the module in table order; the same finding from two views of one order appears once.
Sourcepub fn deadlines(&self) -> Vec<Frist>
pub fn deadlines(&self) -> Vec<Frist>
The deadlines of both interfaces, sorted by due time; the same deadline from two views of one order appears once.
Sourcepub fn next_actions(&self, partei: Partei) -> Vec<Aktion>
pub fn next_actions(&self, partei: Partei) -> Vec<Aktion>
What partei may do next on either interface. WBCI answers for both providers; an
S/PRI process answers for its owner and — the network owner’s view, which sees every
message — for every party.