Struct dis_rs::SeparationParameter
source · pub struct SeparationParameter {
pub reason: SeparationReasonForSeparation,
pub pre_entity_indicator: SeparationPreEntityIndicator,
pub parent_entity_id: EntityId,
pub station_name: StationName,
pub station_number: u16,
}
Fields§
§reason: SeparationReasonForSeparation
§pre_entity_indicator: SeparationPreEntityIndicator
§parent_entity_id: EntityId
§station_name: StationName
§station_number: u16
Implementations§
source§impl SeparationParameter
impl SeparationParameter
pub fn with_reason(self, reason: SeparationReasonForSeparation) -> Self
pub fn with_pre_entity_indicator( self, pre_entity_indicator: SeparationPreEntityIndicator ) -> Self
pub fn with_parent_entity_id(self, parent_entity_id: EntityId) -> Self
pub fn with_station_name(self, station_name: StationName) -> Self
pub fn with_station_number(self, station_number: u16) -> Self
pub fn to_variable_parameter(self) -> VariableParameter
Trait Implementations§
source§impl Clone for SeparationParameter
impl Clone for SeparationParameter
source§fn clone(&self) -> SeparationParameter
fn clone(&self) -> SeparationParameter
Returns a copy of the value. Read more
1.0.0 · 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 SeparationParameter
impl Debug for SeparationParameter
source§impl Default for SeparationParameter
impl Default for SeparationParameter
source§fn default() -> SeparationParameter
fn default() -> SeparationParameter
Returns the “default value” for a type. Read more
impl Copy for SeparationParameter
Auto Trait Implementations§
impl RefUnwindSafe for SeparationParameter
impl Send for SeparationParameter
impl Sync for SeparationParameter
impl Unpin for SeparationParameter
impl UnwindSafe for SeparationParameter
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