Skip to main content

build_propfind_item

Function build_propfind_item 

Source
pub fn build_propfind_item<E, F>(
    href: String,
    request: &DavPropfindRequest,
    available: &[DavRequestedProperty],
    resolve: F,
) -> Result<DavMultiStatusItem, E>
Expand description

Builds one PROPFIND multistatus item from a product-supplied property catalog.

available contains every property exposed by allprop/propname. resolve supplies a value for the requested QName and may intentionally return None for unavailable or hidden values.