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: SeparationReasonForSeparationpre_entity_indicator: SeparationPreEntityIndicatorparent_entity_id: EntityIdstation_name: StationNamestation_number: u16Implementations
sourceimpl 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
sourceimpl Clone for SeparationParameter
impl Clone for SeparationParameter
sourcefn clone(&self) -> SeparationParameter
fn clone(&self) -> SeparationParameter
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for SeparationParameter
impl Debug for SeparationParameter
sourceimpl Default for SeparationParameter
impl Default for SeparationParameter
sourcefn 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more