Skip to main content

path_value

Function path_value 

Source
pub fn path_value(
    field: &str,
    value: &str,
    pattern: &str,
) -> Result<String, Error>
Expand description

value as the path segments of a request, checking it has the form pattern, such as projects/*/zones/*/volumes/*, gives it. field names it in the error. The generated clients call it.