[][src]Function rusp::usp_generator::usp_notify_response

pub fn usp_notify_response(subscription_id: &str) -> Body

Creates a body for a USP Msg with a USP NotifyResp response

Arguments

  • result - A vector of Result tuples to put into the NotifyResp response

Example

use rusp::usp_generator::usp_notify_response;
let resp = usp_notify_response("fancy_sub_id");