Skip to main content

find_sinkhole_list

Function find_sinkhole_list 

Source
pub async fn find_sinkhole_list(
    client: &Client,
    reference: &str,
    include_shared: bool,
) -> Result<SinkholeList>
Expand description

A sinkhole list by uuid or name: first among the caller’s own lists, then, with include_shared, among lists other users share. A uuid that matches neither is read directly (an Admin reaches other users’ lists that way). Rules are not included.

§Errors

§Examples

let list = dinio_sdk::ops::find_sinkhole_list(client, "ads", false).await?;
let with_rules = client.sinkhole_lists().get(list.uuid, true).await?;