pub struct EntityAssociationParameter {
pub change_indicator: ChangeIndicator,
pub association_status: EntityAssociationAssociationStatus,
pub association_type: EntityAssociationPhysicalAssociationType,
pub entity_id: EntityId,
pub own_station_location: StationName,
pub physical_connection_type: EntityAssociationPhysicalConnectionType,
pub group_member_type: EntityAssociationGroupMemberType,
pub group_number: u16,
}Expand description
6.2.94.4 Entity Association VP Record
Fields§
§change_indicator: ChangeIndicator§association_status: EntityAssociationAssociationStatus§association_type: EntityAssociationPhysicalAssociationType§entity_id: EntityId§own_station_location: StationName§physical_connection_type: EntityAssociationPhysicalConnectionType§group_member_type: EntityAssociationGroupMemberType§group_number: u16Implementations§
Source§impl EntityAssociationParameter
impl EntityAssociationParameter
pub fn with_change_indicator(self, change_indicator: ChangeIndicator) -> Self
pub fn with_association_status( self, association_status: EntityAssociationAssociationStatus, ) -> Self
pub fn with_association_type( self, association_type: EntityAssociationPhysicalAssociationType, ) -> Self
pub fn with_entity_id(self, entity_id: EntityId) -> Self
pub fn with_own_station_location( self, own_station_location: StationName, ) -> Self
pub fn with_physical_connection_type( self, physical_connection_type: EntityAssociationPhysicalConnectionType, ) -> Self
pub fn with_group_member_type( self, group_member_type: EntityAssociationGroupMemberType, ) -> Self
pub fn with_group_number(self, group_number: u16) -> Self
pub fn to_variable_parameter(self) -> VariableParameter
Trait Implementations§
Source§impl Clone for EntityAssociationParameter
impl Clone for EntityAssociationParameter
Source§fn clone(&self) -> EntityAssociationParameter
fn clone(&self) -> EntityAssociationParameter
Returns a duplicate 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 EntityAssociationParameter
impl Debug for EntityAssociationParameter
Source§impl Default for EntityAssociationParameter
impl Default for EntityAssociationParameter
Source§fn default() -> EntityAssociationParameter
fn default() -> EntityAssociationParameter
Returns the “default value” for a type. Read more
impl Copy for EntityAssociationParameter
impl StructuralPartialEq for EntityAssociationParameter
Auto Trait Implementations§
impl Freeze for EntityAssociationParameter
impl RefUnwindSafe for EntityAssociationParameter
impl Send for EntityAssociationParameter
impl Sync for EntityAssociationParameter
impl Unpin for EntityAssociationParameter
impl UnwindSafe for EntityAssociationParameter
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