Struct dis_rs::EntityAssociationParameter
source · 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,
}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 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 EntityAssociationParameter
impl Debug for EntityAssociationParameter
impl Copy for EntityAssociationParameter
Auto Trait Implementations§
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