1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
use holochain_core_types::cas::content::Address;

#[derive(Deserialize, Default, Debug, Serialize, Clone, PartialEq, Eq, Hash)]
pub struct GetLinksArgs {
    pub entry_address: Address,
    pub tag: String,
}

#[derive(Deserialize, Default, Debug, Serialize, Clone, PartialEq, Eq, Hash)]
pub struct GetLinksResult {
    pub ok: bool,
    pub links: Vec<Address>,
    pub error: String,
}