[−][src]Function rusp::usp_generator::usp_get_supported_dm_request
pub fn usp_get_supported_dm_request<'a>(
paths: &[&'a str],
first_level_only: bool,
return_commands: bool,
return_events: bool,
return_params: bool
) -> Body<'a>
Generates a body of a USP Msg with a USP GetSupportedDM request
Arguments
paths
- An array of parameter/object names to put into the Get requestfirst_level_only
- Whether to just return information for the requested path or recursivelyreturn_commands
- Return commands in responsereturn_events
- Return events in responsereturn_params
- Return parameters in response
Example
use rusp::usp_generator::usp_get_supported_dm_request; let req = usp_get_supported_dm_request(&["Device.", "Device.DeviceInfo."], false, true, true, true);