pub enum RequestParameter {
Show 166 variants
DiscMute,
DiscUnMute,
DiscUniqueBranch {
lower_bound_uid: DeviceUID,
upper_bound_uid: DeviceUID,
},
GetCommsStatus,
SetCommsStatus,
GetQueuedMessage {
status_type: StatusType,
},
GetStatusMessages {
status_type: StatusType,
},
GetStatusIdDescription {
status_id: u16,
},
SetClearStatusId,
GetSubDeviceIdStatusReportThreshold,
SetSubDeviceIdStatusReportThreshold {
status_type: StatusType,
},
GetSupportedParameters,
GetParameterDescription {
parameter_id: u16,
},
GetDeviceInfo,
GetProductDetailIdList,
GetDeviceModelDescription,
GetManufacturerLabel,
GetDeviceLabel,
SetDeviceLabel {
device_label: String,
},
GetFactoryDefaults,
SetFactoryDefaults,
GetLanguageCapabilities,
GetLanguage,
SetLanguage {
language: String,
},
GetSoftwareVersionLabel,
GetBootSoftwareVersionId,
GetBootSoftwareVersionLabel,
GetDmxPersonality,
SetDmxPersonality {
personality_id: u8,
},
GetDmxPersonalityDescription {
personality: u8,
},
GetDmxStartAddress,
SetDmxStartAddress {
dmx_start_address: u16,
},
GetSlotInfo,
GetSlotDescription {
slot_id: u16,
},
GetDefaultSlotValue,
GetSensorDefinition {
sensor_id: u8,
},
GetSensorValue {
sensor_id: u8,
},
SetSensorValue {
sensor_id: u8,
},
SetRecordSensors {
sensor_id: u8,
},
GetDeviceHours,
SetDeviceHours {
device_hours: u32,
},
GetLampHours,
SetLampHours {
lamp_hours: u32,
},
GetLampStrikes,
SetLampStrikes {
lamp_strikes: u32,
},
GetLampState,
SetLampState {
lamp_state: LampState,
},
GetLampOnMode,
SetLampOnMode {
lamp_on_mode: LampOnMode,
},
GetDevicePowerCycles,
SetDevicePowerCycles {
device_power_cycles: u32,
},
GetDisplayInvert,
SetDisplayInvert {
display_invert: DisplayInvertMode,
},
GetDisplayLevel,
SetDisplayLevel {
display_level: u8,
},
GetPanInvert,
SetPanInvert {
pan_invert: bool,
},
GetTiltInvert,
SetTiltInvert {
tilt_invert: bool,
},
GetPanTiltSwap,
SetPanTiltSwap {
pan_tilt_swap: bool,
},
GetRealTimeClock,
SetRealTimeClock {
year: u16,
month: u8,
day: u8,
hour: u8,
minute: u8,
second: u8,
},
GetIdentifyDevice,
SetIdentifyDevice {
identify: bool,
},
SetResetDevice {
reset_device: ResetDeviceMode,
},
GetPowerState,
SetPowerState {
power_state: PowerState,
},
GetPerformSelfTest,
SetPerformSelfTest {
self_test_id: SelfTest,
},
SetCapturePreset {
scene_id: u16,
fade_times: Option<FadeTimes>,
},
GetSelfTestDescription {
self_test_id: SelfTest,
},
GetPresetPlayback,
SetPresetPlayback {
mode: PresetPlaybackMode,
level: u8,
},
GetDmxBlockAddress,
SetDmxBlockAddress {
dmx_block_address: u16,
},
GetDmxFailMode,
SetDmxFailMode {
scene_id: PresetPlaybackMode,
loss_of_signal_delay_time: TimeMode,
hold_time: TimeMode,
level: u8,
},
GetDmxStartupMode,
SetDmxStartupMode {
scene_id: PresetPlaybackMode,
startup_delay: TimeMode,
hold_time: TimeMode,
level: u8,
},
GetDimmerInfo,
GetMinimumLevel,
SetMinimumLevel {
minimum_level_increasing: u16,
minimum_level_decreasing: u16,
on_below_minimum: bool,
},
GetMaximumLevel,
SetMaximumLevel {
maximum_level: u16,
},
GetCurve,
SetCurve {
curve_id: u8,
},
GetCurveDescription {
curve_id: u8,
},
GetOutputResponseTime,
SetOutputResponseTime {
output_response_time_id: u8,
},
GetOutputResponseTimeDescription {
output_response_time_id: u8,
},
GetModulationFrequency,
SetModulationFrequency {
modulation_frequency_id: u8,
},
GetModulationFrequencyDescription {
modulation_frequency_id: u8,
},
GetPowerOnSelfTest,
SetPowerOnSelfTest {
self_test_id: SelfTest,
},
GetLockState,
SetLockState {
pin_code: PinCode,
lock_state: bool,
},
GetLockStateDescription,
GetLockPin,
SetLockPin {
new_pin_code: PinCode,
current_pin_code: PinCode,
},
GetBurnIn,
SetBurnIn {
hours: u8,
},
GetIdentifyMode,
SetIdentifyMode {
identify_mode: u8,
},
GetPresetInfo,
GetPresetStatus {
scene_id: u16,
},
GetPresetMergeMode,
SetPresetMergeMode {
merge_mode: MergeMode,
},
SetPresetStatus {
scene_id: u16,
up_fade_time: u16,
down_fade_time: u16,
wait_time: u16,
clear_preset: bool,
},
GetListInterfaces,
GetInterfaceLabel {
interface_id: u32,
},
GetInterfaceHardwareAddressType1 {
interface_id: u32,
},
GetIpV4DhcpMode {
interface_id: u32,
},
SetIpV4DhcpMode {
interface_id: u32,
dhcp_mode: bool,
},
GetIpV4ZeroConfMode {
interface_id: u32,
},
SetIpV4ZeroConfMode {
interface_id: u32,
zero_conf_mode: bool,
},
GetIpV4CurrentAddress {
interface_id: u32,
},
GetIpV4StaticAddress {
interface_id: u32,
},
SetIpV4StaticAddress {
interface_id: u32,
address: Ipv4Address,
netmask: u8,
},
SetInterfaceApplyConfiguration {
interface_id: u32,
},
SetInterfaceRenewDhcp {
interface_id: u32,
},
SetInterfaceReleaseDhcp {
interface_id: u32,
},
GetIpV4DefaultRoute,
SetIpV4DefaultRoute {
interface_id: u32,
ipv4_default_route: Ipv4Route,
},
GetDnsIpV4NameServer {
name_server_index: u8,
},
SetDnsIpV4NameServer {
name_server_index: u8,
name_server_address: Ipv4Address,
},
GetDnsHostName,
SetDnsHostName {
host_name: String,
},
GetDnsDomainName,
SetDnsDomainName {
domain_name: String,
},
GetEndpointList,
GetEndpointListChange,
GetIdentifyEndpoint {
endpoint_id: EndpointId,
},
SetIdentifyEndpoint {
endpoint_id: EndpointId,
identify: bool,
},
GetEndpointToUniverse {
endpoint_id: EndpointId,
},
SetEndpointToUniverse {
endpoint_id: EndpointId,
universe: u16,
},
GetEndpointMode {
endpoint_id: EndpointId,
},
SetEndpointMode {
endpoint_id: EndpointId,
mode: EndpointMode,
},
GetEndpointLabel {
endpoint_id: EndpointId,
},
SetEndpointLabel {
endpoint_id: EndpointId,
label: String,
},
GetRdmTrafficEnable {
endpoint_id: EndpointId,
},
SetRdmTrafficEnable {
endpoint_id: EndpointId,
enable: bool,
},
GetDiscoveryState {
endpoint_id: EndpointId,
},
SetDiscoveryState {
endpoint_id: EndpointId,
state: DiscoveryState,
},
GetBackgroundDiscovery {
endpoint_id: EndpointId,
},
SetBackgroundDiscovery {
endpoint_id: EndpointId,
enable: bool,
},
GetEndpointTiming {
endpoint_id: EndpointId,
},
SetEndpointTiming {
endpoint_id: EndpointId,
setting_id: u8,
},
GetEndpointTimingDescription {
setting_id: u8,
},
GetEndpointResponders {
endpoint_id: EndpointId,
},
GetEndpointResponderListChange {
endpoint_id: EndpointId,
},
GetBindingControlFields {
endpoint_id: EndpointId,
uid: DeviceUID,
},
GetBackgroundQueuedStatusPolicy,
SetBackgroundQueuedStatusPolicy {
policy_id: u8,
},
GetBackgroundQueuedStatusPolicyDescription {
policy_id: u8,
},
GetSearchDomain,
SetSearchDomain(String),
GetComponentScope {
scope_slot: u16,
},
SetComponentScope {
scope_slot: u16,
scope_string: String,
static_config_type: StaticConfigType,
static_broker_ipv4_address: Ipv4Address,
static_broker_ipv6_address: Ipv6Address,
static_broker_port: u16,
},
GetTcpCommsStatus,
SetTcpCommsStatus {
scope_string: String,
},
GetBrokerStatus,
SetBrokerStatus {
broker_state: BrokerState,
},
ManufacturerSpecific {
command_class: CommandClass,
parameter_id: u16,
parameter_data: Vec<u8>,
},
Unsupported {
command_class: CommandClass,
parameter_id: u16,
parameter_data: Vec<u8>,
},
}
Variants§
DiscMute
DiscUnMute
DiscUniqueBranch
GetCommsStatus
SetCommsStatus
GetQueuedMessage
Fields
§
status_type: StatusType
GetStatusMessages
Fields
§
status_type: StatusType
GetStatusIdDescription
SetClearStatusId
GetSubDeviceIdStatusReportThreshold
SetSubDeviceIdStatusReportThreshold
Fields
§
status_type: StatusType
GetSupportedParameters
GetParameterDescription
GetDeviceInfo
GetProductDetailIdList
GetDeviceModelDescription
GetManufacturerLabel
GetDeviceLabel
SetDeviceLabel
GetFactoryDefaults
SetFactoryDefaults
GetLanguageCapabilities
GetLanguage
SetLanguage
GetSoftwareVersionLabel
GetBootSoftwareVersionId
GetBootSoftwareVersionLabel
GetDmxPersonality
SetDmxPersonality
GetDmxPersonalityDescription
GetDmxStartAddress
SetDmxStartAddress
GetSlotInfo
GetSlotDescription
GetDefaultSlotValue
GetSensorDefinition
GetSensorValue
SetSensorValue
SetRecordSensors
GetDeviceHours
SetDeviceHours
GetLampHours
SetLampHours
GetLampStrikes
SetLampStrikes
GetLampState
SetLampState
GetLampOnMode
SetLampOnMode
Fields
§
lamp_on_mode: LampOnMode
GetDevicePowerCycles
SetDevicePowerCycles
GetDisplayInvert
SetDisplayInvert
Fields
§
display_invert: DisplayInvertMode
GetDisplayLevel
SetDisplayLevel
GetPanInvert
SetPanInvert
GetTiltInvert
SetTiltInvert
GetPanTiltSwap
SetPanTiltSwap
GetRealTimeClock
SetRealTimeClock
GetIdentifyDevice
SetIdentifyDevice
SetResetDevice
Fields
§
reset_device: ResetDeviceMode
GetPowerState
SetPowerState
Fields
§
power_state: PowerState
GetPerformSelfTest
SetPerformSelfTest
SetCapturePreset
GetSelfTestDescription
GetPresetPlayback
SetPresetPlayback
GetDmxBlockAddress
SetDmxBlockAddress
GetDmxFailMode
SetDmxFailMode
Fields
§
scene_id: PresetPlaybackMode
GetDmxStartupMode
SetDmxStartupMode
GetDimmerInfo
GetMinimumLevel
SetMinimumLevel
GetMaximumLevel
SetMaximumLevel
GetCurve
SetCurve
GetCurveDescription
GetOutputResponseTime
SetOutputResponseTime
GetOutputResponseTimeDescription
GetModulationFrequency
SetModulationFrequency
GetModulationFrequencyDescription
GetPowerOnSelfTest
SetPowerOnSelfTest
GetLockState
SetLockState
GetLockStateDescription
GetLockPin
SetLockPin
GetBurnIn
SetBurnIn
GetIdentifyMode
SetIdentifyMode
GetPresetInfo
GetPresetStatus
GetPresetMergeMode
SetPresetMergeMode
SetPresetStatus
GetListInterfaces
GetInterfaceLabel
GetInterfaceHardwareAddressType1
GetIpV4DhcpMode
SetIpV4DhcpMode
GetIpV4ZeroConfMode
SetIpV4ZeroConfMode
GetIpV4CurrentAddress
GetIpV4StaticAddress
SetIpV4StaticAddress
SetInterfaceApplyConfiguration
SetInterfaceRenewDhcp
SetInterfaceReleaseDhcp
GetIpV4DefaultRoute
SetIpV4DefaultRoute
GetDnsIpV4NameServer
SetDnsIpV4NameServer
GetDnsHostName
SetDnsHostName
GetDnsDomainName
SetDnsDomainName
GetEndpointList
GetEndpointListChange
GetIdentifyEndpoint
Fields
§
endpoint_id: EndpointId
SetIdentifyEndpoint
GetEndpointToUniverse
Fields
§
endpoint_id: EndpointId
SetEndpointToUniverse
GetEndpointMode
Fields
§
endpoint_id: EndpointId
SetEndpointMode
GetEndpointLabel
Fields
§
endpoint_id: EndpointId
SetEndpointLabel
GetRdmTrafficEnable
Fields
§
endpoint_id: EndpointId
SetRdmTrafficEnable
GetDiscoveryState
Fields
§
endpoint_id: EndpointId
SetDiscoveryState
GetBackgroundDiscovery
Fields
§
endpoint_id: EndpointId
SetBackgroundDiscovery
GetEndpointTiming
Fields
§
endpoint_id: EndpointId
SetEndpointTiming
GetEndpointTimingDescription
GetEndpointResponders
Fields
§
endpoint_id: EndpointId
GetEndpointResponderListChange
Fields
§
endpoint_id: EndpointId
GetBindingControlFields
GetBackgroundQueuedStatusPolicy
SetBackgroundQueuedStatusPolicy
GetBackgroundQueuedStatusPolicyDescription
GetSearchDomain
SetSearchDomain(String)
GetComponentScope
SetComponentScope
Fields
§
static_config_type: StaticConfigType
§
static_broker_ipv4_address: Ipv4Address
§
static_broker_ipv6_address: Ipv6Address
GetTcpCommsStatus
SetTcpCommsStatus
GetBrokerStatus
SetBrokerStatus
Fields
§
broker_state: BrokerState
ManufacturerSpecific
Unsupported
Implementations§
Source§impl RequestParameter
impl RequestParameter
pub fn command_class(&self) -> CommandClass
pub fn parameter_id(&self) -> ParameterId
pub fn encode(&self) -> EncodedParameterData
pub fn decode( command_class: CommandClass, parameter_id: ParameterId, bytes: &[u8], ) -> Result<Self, RdmError>
Trait Implementations§
Source§impl Clone for RequestParameter
impl Clone for RequestParameter
Source§fn clone(&self) -> RequestParameter
fn clone(&self) -> RequestParameter
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 RequestParameter
impl Debug for RequestParameter
Source§impl PartialEq for RequestParameter
impl PartialEq for RequestParameter
impl StructuralPartialEq for RequestParameter
Auto Trait Implementations§
impl Freeze for RequestParameter
impl RefUnwindSafe for RequestParameter
impl Send for RequestParameter
impl Sync for RequestParameter
impl Unpin for RequestParameter
impl UnwindSafe for RequestParameter
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