Function rusp::usp_generator::usp_get_supported_dm_request [−][src]
pub fn usp_get_supported_dm_request<S: AsRef<str>>(
paths: &[S],
first_level_only: bool,
return_commands: bool,
return_events: bool,
return_params: bool
) -> Body<'_>
Generates a body of a USP Msg with a USP GetSupportedDM request
Arguments
paths
- An array of parameter/object names to put into the GetSupportedDM 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);